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?
Recurring downtime scheduler
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Recurring downtime scheduler
This is a definite "I think so"...jsmurphy wrote:Were there any known issues with XI 3.2 and the scheduler?
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.patchCode: Select all
cd /tmp/nagiosxi/subcomponents/nagioscore
./upgradeRe: Recurring downtime scheduler
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
Kind of..jsmurphy wrote:Would this be rectified in the 2012 upgrade?
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
./upgradeRe: Recurring downtime scheduler
Alright, thanks Scott, I'll give it a go 