Page 2 of 2

Re: Duplicate scheduled downtime after configuring a ram dis

Posted: Tue May 28, 2013 2:32 pm
by cloberjewels
Correct. Screenshots uploaded.

Re: Duplicate scheduled downtime after configuring a ram dis

Posted: Tue May 28, 2013 3:47 pm
by lmiltchev
We noticed that you are using Nagios XI 2011R3.2. There was a bug with recurring downtime that is fixed in our latest release. I would recommend upgrading your Nagios XI to 2012R2.1.

Re: Duplicate scheduled downtime after configuring a ram dis

Posted: Wed May 29, 2013 7:25 am
by cloberjewels
Can you provide more details on the bug? Are the symptoms we are experiencing seem related?

We have been running Nagios XI 2011R3.2 for about a year now with no issues. We do plan on upgrading at some point but I would like to be sure upgrading will solve the problem.

Re: Duplicate scheduled downtime after configuring a ram dis

Posted: Wed May 29, 2013 10:25 am
by slansing
The bugs, along with other changes can be found in the changelogs:

These are the 2011 changes alone - http://assets.nagios.com/downloads/nagi ... S-2011.TXT

And the 2012 changes - http://assets.nagios.com/downloads/nagi ... S-2012.TXT

Re: Duplicate scheduled downtime after configuring a ram dis

Posted: Mon Jun 03, 2013 1:49 pm
by cloberjewels
The changelog does not specify the extent of the bug. Can you confirm from our screen shots that this issue would be resolved by upgrading?

Also, as I stated, I found that the issue appears to be more related to Recurring Downtime. It's scheduling the same downtime multiple times. How does the Recurring Downtime schedule downtime? Is it just running to frequently or not updating a file saying it's been scheduled?

Re: Duplicate scheduled downtime after configuring a ram dis

Posted: Tue Jun 04, 2013 9:59 am
by slansing
I believe this may have been one of the misc fixes in 2011R2.3, regardless, there are more than enough bug fixes "around a year," and feature additions to warrant an upgrade at this point so this is what we would recommend.

Re: Duplicate scheduled downtime after configuring a ram dis

Posted: Thu Aug 01, 2013 8:12 am
by cloberjewels
Here is the solution:

The document http://assets.nagios.com/downloads/nagi ... giosXI.pdf needs to be updated to include editing

/usr/local/nagiosxi/cron/recurringdowntime.pl

and change
= ('','/usr/local/nagios/var/status.dat','','','','');
to
= ('','/var/nagiosramdisk/status.dat','','','','');


It takes several days for the status.dat file to catch up again but that is the fix.

Re: Duplicate scheduled downtime after configuring a ram dis

Posted: Thu Aug 01, 2013 2:51 pm
by lmiltchev
Thanks for pointing this out! I will be updating the "Utilizing A RAM Disk In NagiosXI" document as soon as I can.

Re: Duplicate scheduled downtime after configuring a ram dis

Posted: Thu Aug 01, 2013 4:02 pm
by scottwilkerson
Instead of updating the document, we are updating /usr/local/nagiosxi/cron/recurringdowntime.pl to read out of the nagios.cfg This will take affect in 2012R2.3

If you need the file before that I am attaching it to this post, unzip and place in /usr/local/nagiosxi/cron/recurringdowntime.pl