Nagios XI 5.5.1, Notifications are being disabled
Nagios XI 5.5.1, Notifications are being disabled
We have upgraded from Nagios XI 5.4.x to 5.5.1, and since then, on our main dashboard, one of the dashlets we have is "Monitoring Engine Process." And among the options there, is an option to turn Notifications on or off. Frequently, when we have this webpage up, the Notifications will turn to red, indicating that they are inactive. Then after a few minutes, it will go green again, all on its own. We are not sure that notifications are actually being disabled, but perhaps just this element in the GUI is malfunctioning. Please see attached.
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: Nagios XI 5.5.1, Notifications are being disabled
Lets go to Admin -> Audit Log and Search for DISABLE_NOTIFICATIONS over the last 7 days
Do you see any results?
Do you have any scripts that run external commands to the nagios command pipe?
Do you see any results?
Do you have any scripts that run external commands to the nagios command pipe?
Re: Nagios XI 5.5.1, Notifications are being disabled
I was getting weird issues after updating my nagios to 5.5.1.
I restarted the machine, and so far (it's only been 30 min so far) it appears to be running as it should.
I restarted the machine, and so far (it's only been 30 min so far) it appears to be running as it should.
Everybody is somebody else’s weirdo
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI 5.5.1, Notifications are being disabled
Thanks for the input @JohnFLiJohnFLi wrote:I was getting weird issues after updating my nagios to 5.5.1.
I restarted the machine, and so far (it's only been 30 min so far) it appears to be running as it should.
Re: Nagios XI 5.5.1, Notifications are being disabled
I only see two instances where DISABLE_NOTIFICATIONS come up, one is 6 days ago (when I did the upgrade), the other was 14 days ago (I expanded the search to "this month").
No other scripts or anything else, unless they are natively part of Nagios XI, are running.
No other scripts or anything else, unless they are natively part of Nagios XI, are running.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI 5.5.1, Notifications are being disabled
I would check the same place the next time you see it occurs.
Also search the Reports -> Event Log for the same string
Also search the Reports -> Event Log for the same string
Re: Nagios XI 5.5.1, Notifications are being disabled
It was happening while I was searching. It has since switched back to being enabled. I have also searched Reports >> Event Log as you suggested, do not see anything related to disabling notifications.
Audit log screenshot has been attached.
Audit log screenshot has been attached.
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: Nagios XI 5.5.1, Notifications are being disabled
This is really bizarre
Can you show the output of the following?
Can you show the output of the following?
Code: Select all
ps -ef|grep nagios.cfgRe: Nagios XI 5.5.1, Notifications are being disabled
[root@hqnagp02 ~]# ps -ef|grep nagios.cfg
nagios 2409 1 0 11:42 ? 00:01:22 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 2457 2409 0 11:42 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 8203 8053 0 15:06 pts/0 00:00:00 grep nagios.cfg
I have rebooted the server (earlier today), as suggested by the other person, and the issue doesn't seem to be occurring anymore. I will continue to keep an eye on it to make sure.
Thanks,
nagios 2409 1 0 11:42 ? 00:01:22 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 2457 2409 0 11:42 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 8203 8053 0 15:06 pts/0 00:00:00 grep nagios.cfg
I have rebooted the server (earlier today), as suggested by the other person, and the issue doesn't seem to be occurring anymore. I will continue to keep an eye on it to make sure.
Thanks,
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI 5.5.1, Notifications are being disabled
Sounds good, do let us know if it reoccurs, the reboot might have fixed what I was looking for with the command above as it did for the other person.mblower wrote:[root@hqnagp02 ~]# ps -ef|grep nagios.cfg
nagios 2409 1 0 11:42 ? 00:01:22 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 2457 2409 0 11:42 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 8203 8053 0 15:06 pts/0 00:00:00 grep nagios.cfg
I have rebooted the server (earlier today), as suggested by the other person, and the issue doesn't seem to be occurring anymore. I will continue to keep an eye on it to make sure.
Thanks,