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
Recurring Downtime sometimes not working for a Host
-
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
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:
To:
Restart crond then with:
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.
Code: Select all
01 * * * * nagios /usr/local/nagiosxi/cron/recurringdowntime.pl > /usr/local/nagiosxi/var/recurringdowntime.log 2>&1
Code: Select all
01 * * * * nagios /usr/local/nagiosxi/cron/recurringdowntime.pl >> /usr/local/nagiosxi/var/recurringdowntime.log 2>&1
Code: Select all
service crond restart
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
Thanks - info has been PM'd to you
Fred
Fred
Re: Recurring Downtime sometimes not working for a Host
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.