Page 1 of 1

Recurring Downtime Date Shift

Posted: Fri Mar 30, 2012 12:42 pm
by lonnie.thomas
Last year, on 30 Mar 11, I opened a topic (http://support.nagios.com/forum/viewtop ... =16&t=1969) describing a problem where my scheduled downtimes, scheduled for every day of the week, skipped forward about three days into the future. I was referred to another open topic (http://support.nagios.com/forum/viewtop ... =16&t=1961) pertaining to the same problem. In my case, the scheduled downtimes started working properly when the three day window passed, eliminating over 100 alerts each night. The second topic was eventually solved and the solution was rolled into the next release. I'm am currently on Nagios XI 2011R2.2 and am experiencing the problem again. On the same day, one year later, that I opened my initial topic. All of my recurring downtimes, which have been in place for quite a while, run nightly. When I examine the Scheduled Downtimes, I see that none ran last night, 29 March, and none are scheduled to run until 1 April.

If I create a new recurring downtime, it appears in the scheduled downtime list with an entry time of today, 03-30-2012, but with a start time of 04-02-2012. The date/time on the Nagios server is correct. I find it odd, funny in a way, that the problem, which first appeared to me near the end of March 2011, has reappeared this year, near the end of March. Everything else seems fine with the server. The Last Check information is current on service checks.

Any idea of how to resolve this, or do I just have to wait until real time catches up with the scheduled downtimes?

Thank you
Lonnie

Re: Recurring Downtime Date Shift

Posted: Fri Mar 30, 2012 3:52 pm
by scottwilkerson
Thank you for bringing this bug to light.

I was able to recreate the error and put this bug to rest.

Attached is a file that can be unzipped into
/usr/local/nagiosxi/cron

And this should resolve the error.

Re: Recurring Downtime Date Shift

Posted: Mon Apr 02, 2012 9:15 am
by lonnie.thomas
I have copied the file as instructed, but am afraid I won't be able to tell until next March if it truly works. Thank you and have a good day.

Re: Recurring Downtime Date Shift

Posted: Mon Apr 02, 2012 9:36 am
by scottwilkerson
I'm hoping we won't hear from you on March 30, 2013... :oops:

Re: Recurring Downtime Date Shift

Posted: Mon Apr 02, 2012 11:50 am
by lonnie.thomas
I'll take that in the kindest way. I may have to open a new topic as we've discovered a discrepancy in how Nagios determines the amount of memory a monitored computer contains. I'll be searching the forums first.

Thanks for your help.
Lonnie