Notification scripting question

Mihai Tanasescu mihai at duras.ro
Thu Mar 15 00:22:19 CET 2007


Hello,


I've just installed Nagios on a machine for the first time and have read 
a little throught the docs and I'm now starting to get the hang of it.

 From what I've read, for check_commands I can define a way to pass 
arguments at runtime by using "command 
parameter_1!parameter2....!parameter_n" if I state $ARG1$...$ARGn$ in 
the definition part.

Is there anything like that for the notification commands ?

What I'd like to do is send personalized notifications based on the 
contact specified in my configuration.
I'm trying to call gammu/gnokii to send an SMS with different texts 
depending on who's being notified and I'd like to avoid if possible the 
definition of each and every particular notification command.

Is there any way to do this (something like specify in the notification 
command just script-name "Custom Text" "mobile number" ) ?
Or do I have to create specific entries for each one of them ?




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list