Wrong date for downtime?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jtata
Posts: 47
Joined: Thu Sep 02, 2010 12:27 pm

Wrong date for downtime?

Post by jtata »

I have recurring downtime configured for a number of hosts on Tuesday and Thursday morning each week. When I look at the Scheduled Downtime section I see:

Code: Select all

MyHostName	03-26-2011 00:01:01	jtata	AUTO: Weekly maintenance	04-01-2011 05:00:00	04-01-2011 07:00:00	Fixed	0d 2h 0m 0s

What's up? Is Nagios playing an early April fools on me? I did check the time on my server, I get the correct value from date.
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Wrong date for downtime?

Post by rdedon »

I see that I have the same thing on one of my test servers here after setting up Recurring Downtime and it looks to be a 3 hour chunk from 10:00 to 13:00 and the same services are repeated multiple times. I am setting up another test server from scratch and seeing if I can duplicate it again, this may be a bug.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
alexlacraru
Posts: 13
Joined: Wed Mar 30, 2011 8:12 am

Re: Wrong date for downtime?

Post by alexlacraru »

Hi there, I see the same thing on my install, I have 3 Recurring Scheduled Downtime - Tue, Wed, Thu, on host details:

Acknowledgements and Comments
By (Nagios Process) at 2011-03-30 08:22:30
This host has been scheduled for fixed downtime from 04-05-2011 06:00:00 to 04-05-2011 08:00:00. Notifications for the host will not be sent out during that time period.
By (Nagios Process) at 2011-03-30 08:22:30
This host has been scheduled for fixed downtime from 04-01-2011 06:00:00 to 04-01-2011 08:00:00. Notifications for the host will not be sent out during that time period.

also, this week I've got emails on all hosts with scheduled downtime...
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Wrong date for downtime?

Post by rdedon »

One thing I would ask of both of you. Have you set any Scheduled Downtime previously or just Recurring Downtime and this showed up? Looking at my test servers I do not think I had set up a specific Scheduled Downtime and it showed up on its own so this is looking more and more like a bug. I am going to have my fresh server run for a while with the exact time settings as jtata and see if this pops up on its own again.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
alexlacraru
Posts: 13
Joined: Wed Mar 30, 2011 8:12 am

Re: Wrong date for downtime?

Post by alexlacraru »

I had recurring downtime; this might have to do with 2011 update which I ran last Saturday. the first schedule after the update was ok, but this is the second schedule and it didn't work.
not sure how the schedules are created, but is seems it creates 2 in advance for the next occurrences; while troubleshooting this I setup a schedule for 1 single host, 2 minutes downtime in 15 minutes, but it didn't update the host details...
I had to jump on a different problem, but if you want me to check something let me know. I have 284 hosts on this instance, they get rebooted weekly and I got a ton of emails ;)
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Wrong date for downtime?

Post by rdedon »

I have still yet to see this duplicated on the fresh server, but on my older one which was indeed an upgrade (as opposed to a clean install) to 2011r1.1 release. Do feel free to delete these odd scheduled times as I have a base system to try and figure out the "how" and "why" of this over the next few days and see what triggered it. No need to have a flood of emails to going out. I will update this post as I continue with this but if it happens again please put in here ASAP (as I don't want to delete my bugged ones yet).
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Wrong date for downtime?

Post by rdedon »

There is definitely an issue as the fresh server I created has now set its own downtime for Sunday when I had only scheduled Tuesday and Thursday:

Code: Select all

localhost	03-31-2011 00:01:01	nagiosadmin	AUTO: Automatically scheduled for host	04-03-2011 05:00:00	04-03-2011 07:00:00	Fixed	0d 2h 0m 0s	2	N/A
I am putting this on our bugtracker and will have our Lead Developer take a look.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
lonnie.thomas
Posts: 18
Joined: Wed Mar 30, 2011 7:44 am

Re: Wrong date for downtime?

Post by lonnie.thomas »

Rene, walked away for an office function and when I came back, the check times appeared normal, as in using today's date and current time. I checked the Scheduled Downtimes and they were still set two days into the future. The Disable/Enable Notifications appears to be responsive at this point too. Although the server time still appeared to be correct, I ran the steps you provided for NTP and restarted Apache. Came back into the browser and checked downtimes again, still off by two days.
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Wrong date for downtime?

Post by rdedon »

Okay, thank you for the input as I am tracking all of these and have made a high priority bug report for our Lead Developer to look over.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
jtata
Posts: 47
Joined: Thu Sep 02, 2010 12:27 pm

Re: Wrong date for downtime?

Post by jtata »

I actually deleted and recreated all my scheduled downtime last week for my SLA covered host groups. On Fri when i did this I had only Downtime for 4/5 created (our scheduled windows are Tues and Thurs). Now I have the following for all Hosts in those groups:

04-01-2011 05:01:01 jtata AUTO: Weekly Scheduled Maintenance 04-06-2011 05:00:00 04-06-2011 07:00:00 Fixed 0d 2h 0m 0s 5918

I am currently running 2009R1.3G on the Downloadable VM Image however I've been on this version for months and never had any issues like this until just last week.

I've been holding off on upgrading to 1.4 because I haven't had time to test it yet but I guess I'll need to push forward with that.
Locked