Question about notification_period

Stuart Browne stuart.browne at ausregistry.com.au
Tue May 24 08:43:37 CEST 2011


> -----Original Message-----
> From: Andre Tann [mailto:atann at alphasrv.net]
> Sent: Tuesday, 24 May 2011 4:32 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Question about notification_period
> 
> Hello everyone,
> 
> I want my servers to be checked in a 24x7 period, and I want to be
> notified by mail all the time to one contact. This works fine at the
> moment.
> 
> But to a second contact,Mails should only be sent say 10:00-18:00.
> 
> How could I do this? Nagios doesn't accept a notification_period object
> property with contacts.

All contacts have the following two:

        service_notification_period     24x7
        host_notification_period        24x7

Set this to a time period you have configured for the second contact, and all should be good.

Stuart

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
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