Duplicate scheduled downtime after configuring a ram disk
-
cloberjewels
- Posts: 23
- Joined: Wed Sep 21, 2011 10:59 am
Re: Duplicate scheduled downtime after configuring a ram dis
Correct. Screenshots uploaded.
You do not have the required permissions to view the files attached to this post.
Re: Duplicate scheduled downtime after configuring a ram dis
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
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.
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
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
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
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?
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
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
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.
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
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
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
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.