Alternating Notification Commands

Steven Kreuzer skreuzer at exit2shell.com
Tue Dec 2 20:07:32 CET 2008


Greetings-

In addition to the two included commands for sending notifications, I  
defined two new ones called notify-host-by-sms and notify-service-by- 
sms.

What I would like to do is configure nagios to have it send alerts by  
email during normal business hours and send alerts by sms the rest
of the time. I would also like to configure certain critical services  
to only alert by sms regardless of the time of day.

 From what I can tell, there does not appear to be a straight forward  
way to do this because "host_notification_commands" and  
"service_notification_commands" are defined under "contact". It looks  
like I would have to
create two contacts for each person, one with their email and one with  
their pager.

Is there any way around this?

Thanks

Steven Kreuzer
http://www.exit2shell.com/~skreuzer


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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