Page 1 of 1

Problems with notification_period

Posted: Wed Nov 23, 2011 5:20 pm
by marc
Hello,

I've been using Nagios for a while and have successfully set it up to monitor a mix of linux and windows servers. I've decided to narrow down the amount of time nagios will notify me of issues but I can't seem to get the option "notification_period" working.

I redefined one of the timeperiod templates (24x7) to the following


define timeperiod{
timeperiod_name 22x7
alias 22 Hours A Day, 7 Days A Week
sunday 02:00-24:00
monday 02:00-24:00
tuesday 02:00-24:00
wednesday 02:00-14:00
thursday 02:00-24:00
friday 02:00-24:00
saturday 02:00-24:00
}


I then changed the notification_period in the host templates to use this timeperiod. I continued to receive notifications between 12am-2am. I reduced one day down to minimal hours just for testing:

wednesday 00:00-01:00

with no . I also tried changing the host_notification_period in the contact periods, then scanned my configuration files to make sure I wasn't redefining the timeperiod somewhere else.

What could I be missing? I feel like I've exhausted all possibilities.

thanks.

Re: Problems with notification_period

Posted: Tue Dec 20, 2011 1:41 pm
by marc
I still haven't had any luck with this... has anyone else used this option? Any suggestions?

Re: Problems with notification_period

Posted: Tue Dec 20, 2011 5:17 pm
by jsmurphy
Are you able to post, the service/host definition/template where you are applying this timeperiod? Just so I can get the full picture.