Page 1 of 1

notifications help

Posted: Tue Jun 01, 2010 4:45 am
by dfini
Hi everyone,
i'm newbe in this forum and also in Nagios configuration. I'l describe my problem shortly:

i've some servicegroup to monitoring with relative alerts. I want to notify me in particulars hours (9.30-13/14.30-17 in workdays) only by email and in remains hours ( 17.00-09.30/13-14.30 ) i want to notify me also by sms. How can i do?

Thanks in advance for your help

David

Re: notifications help

Posted: Thu Jul 15, 2010 2:48 pm
by jimavery
The easiest way to do this is to set up two contact definitions for yourself, for example 'John_Doe" and "John_Doe-SMS" . Use the host_notification_period and/or service_notification_period directives to control when notifications can be sent for each.

See:

http://nagios.sourceforge.net/docs/3_0/ ... ml#contact

and

http://nagios.sourceforge.net/docs/3_0/ ... timeperiod