Problems with notification_period

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
marc
Posts: 2
Joined: Wed Nov 23, 2011 4:49 pm

Problems with notification_period

Post 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.
marc
Posts: 2
Joined: Wed Nov 23, 2011 4:49 pm

Re: Problems with notification_period

Post by marc »

I still haven't had any luck with this... has anyone else used this option? Any suggestions?
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Problems with notification_period

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