Recurring Downtime sometimes not working for a Host

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Fred Kroeger
Posts: 588
Joined: Wed Oct 19, 2011 11:36 pm
Location: Perth, Western Australia
Contact:

Recurring Downtime sometimes not working for a Host

Post by Fred Kroeger »

This is an intermittent problem so I can't provide a lot of diagnostics, except every now and again the Recurring Downtime doesn't get set - which results in a ticket being created.
I have a Recurring Downtime configured for a Host Group which puts a group of hosts and their services into downtime every night - this usually works. But on occasion it seems to miss one (or more) entries.
On the last occasion, it actually put all the services for a host into downtime but not the host itself. I can PM you a copy of the Notifications screen which shows all the services with a Downtime Started message - but not for the host.

Running NagiosXI 5.4.3
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Recurring Downtime sometimes not working for a Host

Post by cdienger »

Please PM the screenshot as well as a copy of the /usr/local/nagios/etc/recurringdowntime.cfg. /usr/local/nagiosxi/var/recurringdowntime.log may also be useful but is frequently overwritten. Get it to append by editing the /etc/cron.d/nagiosxi file and change:

Code: Select all

01  * * * * nagios /usr/local/nagiosxi/cron/recurringdowntime.pl > /usr/local/nagiosxi/var/recurringdowntime.log 2>&1
To:

Code: Select all

01  * * * * nagios /usr/local/nagiosxi/cron/recurringdowntime.pl >> /usr/local/nagiosxi/var/recurringdowntime.log 2>&1
Restart crond then with:

Code: Select all

service crond restart
I'd check /usr/local/nagiosxi/var/recurringdowntime.log once a day to make sure it's not getting too big and delete it periodically if the problem doesn't occur.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Fred Kroeger
Posts: 588
Joined: Wed Oct 19, 2011 11:36 pm
Location: Perth, Western Australia
Contact:

Re: Recurring Downtime sometimes not working for a Host

Post by Fred Kroeger »

Thanks - info has been PM'd to you

Fred
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Recurring Downtime sometimes not working for a Host

Post by cdienger »

Data received. Did you make the change to the cron job as well? I'd like get this as soon as you see the problem again along with a profile. It would probably be best to move this to a ticket though so please email [email protected] and reference this thread and I'll take ownership.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked