Page 1 of 2
Did NagiosXI 5.5.1 break scheduled downtime for host alerts?
Posted: Tue Jul 24, 2018 8:24 am
by jaroork
In NagiosXI 5.5.1
When I view the Advanced Status Details of a host, I try to "Schedule downtime":
nagios.png
xidowntime.png
The host even gets a comment:
"This host has been scheduled for flexible downtime starting between 07-24-2018 07:51:58 and 07-24-2018 08:51:58 and lasting for a period of 0 hours and 20 minutes. Notifications for the host will not be sent out during that time period."
But when the host is rebooted, Nagios sends out the host alert anyway.
From event log:
"2018-07-24 07:58:52 HOST ALERT: au-kvm-a.dev.multiservice.com;DOWN;HARD;3;CRITICAL - Host Unreachable (au-kvm-a.dev.multiservice.com)"
I don't see any "HOST DOWNTIME ALERT" for downtime starting or ending for the host either.
So is scheduled downtime broken (at least for hosts) in 5.5.1? Or do I not understand how to set downtime?
Re: Did NagiosXI 5.5.1 break scheduled downtime for host ale
Posted: Tue Jul 24, 2018 10:37 am
by scottwilkerson
What is the output of the following:
Re: Did NagiosXI 5.5.1 break scheduled downtime for host ale
Posted: Tue Jul 24, 2018 11:58 am
by jaroork
$ ps -ef | grep nagios.cfg
nagios 9744 1 16 11:56 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 9768 9744 0 11:56 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
jaroork 10168 1776 0 11:56 pts/0 00:00:00 grep --color=auto nagios.cfg
Re: Did NagiosXI 5.5.1 break scheduled downtime for host ale
Posted: Tue Jul 24, 2018 1:37 pm
by scottwilkerson
Did the host show the downtime had kicked in?
Re: Did NagiosXI 5.5.1 break scheduled downtime for host ale
Posted: Tue Jul 24, 2018 1:57 pm
by jaroork
Are you referring to that black/gray "this host is in scheduled downtime" symbol that normally shows up near the "this host has a comment" symbol?
No, that symbol doesn't show up, but it doesn't seem to matter how long I wait for the downtime to take effect, it never seems to do so.
Re: Did NagiosXI 5.5.1 break scheduled downtime for host ale
Posted: Tue Jul 24, 2018 3:42 pm
by scottwilkerson
Yes that was what I was referring to.
Do you get a confirmation dialog?
Can you send a profile.zip from Admin -> System Profile ?
Re: Did NagiosXI 5.5.1 break scheduled downtime for host ale
Posted: Tue Jul 24, 2018 3:58 pm
by jaroork
I don't think I see any confirmation dialog when scheduling the downtime.
Re: Did NagiosXI 5.5.1 break scheduled downtime for host ale
Posted: Wed Jul 25, 2018 11:36 am
by jaroork
I get the following confirmation when scheduling downtime via Incident Management > Scheduled Downtime: "Successfully added all downtime. It may take up to a minute to show up on the list."
The downtime does appear on the list and Start Time is in the past, while End Time is in the future, which looks correct.
Re: Did NagiosXI 5.5.1 break scheduled downtime for host ale
Posted: Wed Jul 25, 2018 4:30 pm
by scottwilkerson
Is it possible to open the developer tools in your browser F12 and watch the log when you submit the command from a detail page?
I have tested multiple times and am not seeing an issue.
Also, are you creating a Fixed or Flexible downtime?
Re: Did NagiosXI 5.5.1 break scheduled downtime for host ale
Posted: Mon Jul 30, 2018 8:54 am
by jaroork
I wasn't able to find any browser logs after submitting the downtime command.
I am trying to schedule flexible downtime, fixed downtime seems to be working.