Changing notification command based on notificationperiods

Marc Powell marc at ena.com
Thu Aug 2 15:57:25 CEST 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of James Davis
> Sent: Thursday, August 02, 2007 6:42 AM
> To: Nagios Users Mailinglist
> Subject: [Nagios-users] Changing notification command based on
> notificationperiods
> 
> Is it possible to define different notification commands for different
> notification periods for a single user? I'd like to have notifications
> sent by e-mail during our working hours and additional notification by
> SMS out of working hours.
> 
> Presently I'm doing this by defining two contacts, james and
> james-mobile with different notification periods and associated
commands
> but I can't help feel this is a little inelegant.

That's the only way to do it currently unless you write a custom
notification script that Does The Right Thing.

--
Marc

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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