Recurring downtime scheduler

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Recurring downtime scheduler

Post by jsmurphy »

Hey guys,

On the 24th of September one of our services that is scheduled for recurring downtime stopped behaving itself and now seems to randomly fail to apply downtime. The weird thing is we have two services on this particular host related to that application, one is scheduling properly the other is not.

Is there a log file for the recurring scheduler? These services come down at around 4am in the morning which is making it sort of hard to track what exactly it's doing or not doing. Were there any known issues with XI 3.2 and the scheduler?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Recurring downtime scheduler

Post by scottwilkerson »

jsmurphy wrote:Were there any known issues with XI 3.2 and the scheduler?
This is a definite "I think so"...

I believe I know the problem (bad patch)..

If you have your install/upgrade files still I believe this is the resolution

edit /tmp/nagiosxi/subcomponents/nagioscore/apply-patches
comment out this line

Code: Select all

patch "$pkgname/common/downtime.c" < patches/nagios-scheduledt2.patch
then run

Code: Select all

cd /tmp/nagiosxi/subcomponents/nagioscore
./upgrade
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Recurring downtime scheduler

Post by jsmurphy »

Would this be rectified in the 2012 upgrade? I'm going to be doing that in a couple weeks and given it's low impact right now I may as well just wait until I do that if it will solve the problem.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Recurring downtime scheduler

Post by scottwilkerson »

jsmurphy wrote:Would this be rectified in the 2012 upgrade?
Kind of..

I made the change to remove the patch just before we built the release, and didn't get the word to the powers that be that we need to recompile core.

So when you do your 2012 upgrade, once you are done if you run

Code: Select all

cd /tmp/nagiosxi/subcomponents/nagioscore
./upgrade
it will make the change.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Recurring downtime scheduler

Post by jsmurphy »

Alright, thanks Scott, I'll give it a go :)
Locked