Did NagiosXI 5.5.1 break scheduled downtime for host alerts?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jaroork
Posts: 12
Joined: Wed Dec 28, 2016 10:48 am

Did NagiosXI 5.5.1 break scheduled downtime for host alerts?

Post 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?
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Did NagiosXI 5.5.1 break scheduled downtime for host ale

Post by scottwilkerson »

What is the output of the following:

Code: Select all

ps -ef|grep nagios.cfg
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jaroork
Posts: 12
Joined: Wed Dec 28, 2016 10:48 am

Re: Did NagiosXI 5.5.1 break scheduled downtime for host ale

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Did NagiosXI 5.5.1 break scheduled downtime for host ale

Post by scottwilkerson »

Did the host show the downtime had kicked in?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jaroork
Posts: 12
Joined: Wed Dec 28, 2016 10:48 am

Re: Did NagiosXI 5.5.1 break scheduled downtime for host ale

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Did NagiosXI 5.5.1 break scheduled downtime for host ale

Post 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 ?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jaroork
Posts: 12
Joined: Wed Dec 28, 2016 10:48 am

Re: Did NagiosXI 5.5.1 break scheduled downtime for host ale

Post by jaroork »

I don't think I see any confirmation dialog when scheduling the downtime.
You do not have the required permissions to view the files attached to this post.
jaroork
Posts: 12
Joined: Wed Dec 28, 2016 10:48 am

Re: Did NagiosXI 5.5.1 break scheduled downtime for host ale

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Did NagiosXI 5.5.1 break scheduled downtime for host ale

Post 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?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jaroork
Posts: 12
Joined: Wed Dec 28, 2016 10:48 am

Re: Did NagiosXI 5.5.1 break scheduled downtime for host ale

Post 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.
Locked