Page 1 of 1

Question on notifications and services

Posted: Fri Aug 20, 2010 2:43 pm
by niebais
Hi
One of the departments in our company asked me the following question:
Is it possible to set up a service or a host to notify somebody during the day hours by email and SMS messaging and then at night only email them? I couldn’t find any way of doing that inside of Nagios. Does anybody know how I could accomplish this task in XI?

Re: Question on notifications and services

Posted: Sun Aug 22, 2010 4:59 pm
by admin
In the next update to XI we're going to allow PHP code to be included in the notification messages. The PHP code will be evaluated before the message is sent out, so you could write a few simple lines of PHP to cancel a certain notification type (email, SMS) etc. based on the current weekday or time, etc.

Will that work for you?

Re: Question on notifications and services

Posted: Fri Sep 10, 2010 10:12 am
by niebais
I'll give it a try. Sounds like something that would work out ok.