Did NagiosXI 5.5.1 break scheduled downtime for host alerts?
Did NagiosXI 5.5.1 break scheduled downtime for host alerts?
In NagiosXI 5.5.1
When I view the Advanced Status Details of a host, I try to "Schedule downtime":
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?
When I view the Advanced Status Details of a host, I try to "Schedule downtime":
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
What is the output of the following:
Code: Select all
ps -ef|grep nagios.cfgRe: Did NagiosXI 5.5.1 break scheduled downtime for host ale
$ 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
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
Did the host show the downtime had kicked in?
Re: Did NagiosXI 5.5.1 break scheduled downtime for host ale
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.
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
Yes that was what I was referring to.
Do you get a confirmation dialog?
Can you send a profile.zip from Admin -> System Profile ?
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
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.
Re: Did NagiosXI 5.5.1 break scheduled downtime for host ale
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.
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
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?
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
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.
I am trying to schedule flexible downtime, fixed downtime seems to be working.