Recurring Maintenance not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
acentek
Posts: 123
Joined: Thu Jul 27, 2017 2:00 pm

Re: Recurring Maintenance not working

Post 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.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Recurring Maintenance not working

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