Page 4 of 4

Re: Recurring Maintenance not working

Posted: Tue Jul 24, 2018 10:52 am
by acentek
Even with recreating all of the recurring maintenance they are still not working.

What am i to do right now. The current state of nagios XI and recurring maintenance not working is not good.

Re: Recurring Maintenance not working

Posted: Tue Jul 24, 2018 3:14 pm
by tgriep
Recreating the entries for recurring downtime was supposed to re-add the entries but I guess doing that, did not work in all cases.
The next release of XI should fix the issue.

What you should do it to edit the /etc/cron.d/nagiosxi file and comment out the php version of the Recurring Downtime script by changing this line from

Code: Select all

01  * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/recurring_downtime.php >> /usr/local/nagiosxi/var/recurringdowntime.log 2>&1
to

Code: Select all

# 01  * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/recurring_downtime.php >> /usr/local/nagiosxi/var/recurringdowntime.log 2>&1
Save the file and restart crom by running

Code: Select all

service crond restart
When the next version of XI comes out, you will have to undo this change and also remove the Perl version on the from the cron tab file.