Page 1 of 1

How scheduled downtime works?

Posted: Mon Dec 19, 2016 8:20 am
by yunushaikh
Hello,

I have scheduled a downtime for 1 host at 8.05 AM and when I submit passive check result and make the state hard then it sends me the notification even in downtime.

I have selected downtime for all days all week and all month for specified time,

However I am still receiving notification for that host when it goes down.

Please suggest

Re: How scheduled downtime works?

Posted: Mon Dec 19, 2016 11:39 am
by rkennedy
What version of XI are you using?

Can you show us a screenshot of the scheduled downtime, a copy of the notification email, and your related host / service definition? This should help to identify what's going on.

If you setup your notification commands to use event handlers, then this is one culprit I've seen in the past.

Re: How scheduled downtime works?

Posted: Mon Dec 19, 2016 12:04 pm
by bwallace
Could you provide screenshots of each the steps you've mentioned as well as the email you received?

- be sure the time stamp is visible and scrub ALL sensitive data -

Also, post the config definition file for the host in question. You can do this via the UI in CCM, find the host and click the floppy disk icon to the right in order to view the text config - copy that and post here, thanks.

Re: How scheduled downtime works?

Posted: Fri Jan 13, 2017 10:39 am
by yunushaikh
It worked fine. I was not waiting for the scheduled php cron to run the scheduled recurring downtime.
Thats why it was not taking in effect.
Later I researched and found that every hour a cron runs and then it updates the recurring downtime.
If we need to make an immediate effect we have to run the cron manually.
We can get the cron from the log file.
cat /var/log/cron |grep recurring

It may help someone if they are looking to make an immediate testing for recurring downtime.

Thanks a lot for all help

Re: How scheduled downtime works?

Posted: Fri Jan 13, 2017 10:46 am
by yunushaikh
You can close this thread as I got the resolution with all your help.

THanks

Re: How scheduled downtime works?

Posted: Fri Jan 13, 2017 10:55 am
by bwallace
Appreciate you posting your observations, that will come in handy for someone I'm sure. I'll go ahead and lock this thread now, thanks.