Page 1 of 2
Nagios XI 5.5.1, Notifications are being disabled
Posted: Thu Jul 19, 2018 4:57 pm
by NMFSTeam
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.
Re: Nagios XI 5.5.1, Notifications are being disabled
Posted: Thu Jul 19, 2018 5:19 pm
by scottwilkerson
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?
Re: Nagios XI 5.5.1, Notifications are being disabled
Posted: Thu Jul 19, 2018 6:00 pm
by JohnFLi
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
Posted: Fri Jul 20, 2018 7:57 am
by scottwilkerson
JohnFLi 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.
Thanks for the input
@JohnFLi
Re: Nagios XI 5.5.1, Notifications are being disabled
Posted: Fri Jul 20, 2018 9:34 am
by NMFSTeam
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.
Re: Nagios XI 5.5.1, Notifications are being disabled
Posted: Fri Jul 20, 2018 9:51 am
by scottwilkerson
I would check the same place the next time you see it occurs.
Also search the Reports -> Event Log for the same string
Re: Nagios XI 5.5.1, Notifications are being disabled
Posted: Fri Jul 20, 2018 10:38 am
by NMFSTeam
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.
Re: Nagios XI 5.5.1, Notifications are being disabled
Posted: Fri Jul 20, 2018 10:48 am
by scottwilkerson
This is really bizarre
Can you show the output of the following?
Re: Nagios XI 5.5.1, Notifications are being disabled
Posted: Fri Jul 20, 2018 2:07 pm
by NMFSTeam
[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,
Re: Nagios XI 5.5.1, Notifications are being disabled
Posted: Fri Jul 20, 2018 2:34 pm
by scottwilkerson
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,
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.