Page 1 of 1
Scheduled Downtime still sends notifications
Posted: Mon Mar 31, 2014 5:19 am
by firstaspect
Hi There,
We're using Nagios Core 4.0.2 and I'm having an issue with the Scheduled Downtime. I'm using "Schedule downtime for all services on this host" when we need to make some maintenance updates so the host itself stays alive, but all the applications on it may be up and down.
I can see the Service Comment telling me that downtime has been scheduled and I will not receive notifications in that time. However we still get email notifications.
I've set the downtime in advance so everything was up and running at the time I scheduled it.
Any help would be greatly appreciated.
Thanks,
Mark
Re: Scheduled Downtime still sends notifications
Posted: Mon Mar 31, 2014 11:00 am
by abrist
Do you have notifications configured as event handlers?
Re: Scheduled Downtime still sends notifications
Posted: Wed Apr 02, 2014 5:49 am
by firstaspect
I'm using the default 'notify-service-by-email' command definition and then within the generic template of a contact using:
service_notification_period 24x7 ; service notifications can be sent anytime
service_notification_options w,u,c,r,f,s ; send notifications for all service states, flapping events, and scheduled downtime events
service_notification_commands notify-service-by-email ; send service notifications via email
And the service template:
notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events
notification_interval 720 ; notify about service problems every 12 hours
notification_period 24x7 ; Notifications can be sent out at any time
Thanks,
Mark
Re: Scheduled Downtime still sends notifications
Posted: Wed Apr 02, 2014 5:01 pm
by sreinhardt
Would it be possible for you to post a portion of the nagios.log of when this happened. Specifically I am looking for if the host\services entered downtime prior to any warning\critical checks were returned. I want to be sure that the host\services did not begin entering a warning or critical state prior to the downtime actually taking effect, as it would be possible the codes logic, would allow for sending notifications in this case.
Re: Scheduled Downtime still sends notifications
Posted: Thu Apr 03, 2014 3:54 pm
by nimhengnrs
Its a checkbox you have to disabled. Click on the service and go to the check settings. There are 4 radio buttons w, c, o, u. Its one of them that needs to be unchecked and problem fixed. I can't remember exactly whichone fixed it but its one of them. Let us know if it works.
Re: Scheduled Downtime still sends notifications
Posted: Fri Apr 04, 2014 11:44 am
by sreinhardt
You can remove S from the notification options on the services and contact service preferences, however this really should only disable the downtime start and stop notifications, not other notifications while in downtime.