Hello forum,
I just updated a recurring downtime schedule that I have for the weekend for specific services on a host to match our reboot cycles and when I go to the Scheduled Downtime section where it gets generated by this schedule, I still see the old schedule and not the new one. It has been more than 2 hours since I set that up. Do I need to delete the entries on the old schedule inside Sheduled Downtime or do I need to remove fully and set up recurring downtime again?
Is it possible that the cron job is runinng once a week to grab those instead of once per hour?
Thank you,
Kostadin
Question with updating recurring downtime
-
kostadin.boychev
- Posts: 4
- Joined: Thu Jun 18, 2020 4:19 pm
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Question with updating recurring downtime
Hi,
If an edit is made to an existing schedule, but some jobs have been submitted already, then it's necessary to remove those in the Scheduled Downtime Page.
I would check to make sure the cron service is running on the server. It is supposed to run every hour.
You can manually run this using the following command.
If the cron service is not running as expected, then please post the output of the following command. Thanks, Benjamin
If an edit is made to an existing schedule, but some jobs have been submitted already, then it's necessary to remove those in the Scheduled Downtime Page.
I would check to make sure the cron service is running on the server. It is supposed to run every hour.
Code: Select all
systemctl status crond
Code: Select all
/usr/bin/php -q /usr/local/nagiosxi/cron/recurring_downtime.php >> /usr/local/nagiosxi/var/recurringdowntime.log 2>&1
Code: Select all
tail -n 100 /var/log/cron
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!