How scheduled downtime works?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

How scheduled downtime works?

Post 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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: How scheduled downtime works?

Post 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.
Former Nagios Employee
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: How scheduled downtime works?

Post 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.
Be sure to check out the Knowledgebase for helpful articles and solutions!
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Re: How scheduled downtime works?

Post 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
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Re: How scheduled downtime works?

Post by yunushaikh »

You can close this thread as I got the resolution with all your help.

THanks
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: How scheduled downtime works?

Post 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.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked