notifications help

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
dfini
Posts: 1
Joined: Tue Jun 01, 2010 4:02 am

notifications help

Post 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
jimavery
Posts: 15
Joined: Thu Jul 15, 2010 2:40 pm

Re: notifications help

Post 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
Locked