Duplicate scheduled downtime after configuring a ram disk

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
cloberjewels
Posts: 23
Joined: Wed Sep 21, 2011 10:59 am

Re: Duplicate scheduled downtime after configuring a ram dis

Post by cloberjewels »

Correct. Screenshots uploaded.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Duplicate scheduled downtime after configuring a ram dis

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
cloberjewels
Posts: 23
Joined: Wed Sep 21, 2011 10:59 am

Re: Duplicate scheduled downtime after configuring a ram dis

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Duplicate scheduled downtime after configuring a ram dis

Post 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
cloberjewels
Posts: 23
Joined: Wed Sep 21, 2011 10:59 am

Re: Duplicate scheduled downtime after configuring a ram dis

Post 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?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Duplicate scheduled downtime after configuring a ram dis

Post 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.
cloberjewels
Posts: 23
Joined: Wed Sep 21, 2011 10:59 am

Re: Duplicate scheduled downtime after configuring a ram dis

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Duplicate scheduled downtime after configuring a ram dis

Post by lmiltchev »

Thanks for pointing this out! I will be updating the "Utilizing A RAM Disk In NagiosXI" document as soon as I can.
Be sure to check out our Knowledgebase for helpful articles and solutions!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Duplicate scheduled downtime after configuring a ram dis

Post 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
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked