Page 1 of 1

Operation centre alerts stuck

Posted: Wed Jun 27, 2018 7:04 am
by buzinessware
hi

from last few days, the alerts on NagiosXI Operation centre are not getting cleared, even though alerts are removed by core system.

can someone advice if there is a way to clear that up.

Re: Operation centre alerts stuck

Posted: Wed Jun 27, 2018 9:30 am
by scottwilkerson
Can you send me your system profile.zip from Admin -> System Profile

Re: Operation centre alerts stuck

Posted: Thu Jun 28, 2018 8:23 pm
by buzinessware
Attached is the file as requested.

Re: Operation centre alerts stuck

Posted: Fri Jun 29, 2018 8:20 am
by scottwilkerson
It appears that you had some database connectivity issues

Lets run the following

Code: Select all

service nagios stop
service ndo2db stop
service ndo2db start
service nagios start

Re: Operation centre alerts stuck

Posted: Fri Jun 29, 2018 9:30 am
by buzinessware
We did the complete restart of the server but still same. We ran the repair MySQL table script.

Re: Operation centre alerts stuck

Posted: Fri Jun 29, 2018 9:36 am
by scottwilkerson
Can you show the output of

Code: Select all

service ndo2db status
ls -l /usr/local/nagios/var/ndo*

Re: Operation centre alerts stuck

Posted: Fri Jun 29, 2018 2:07 pm
by buzinessware
[root@nagiosxi ~]# service ndo2db status
ndo2db is not running but subsystem locked
[root@nagiosxi ~]# ls -l /usr/local/nagios/var/ndo*
-rw-r--r-- 1 nagios nagios 5 Nov 21 2017 /usr/local/nagios/var/ndo2db.lock
srwxr-xr-x 1 nagios nagios 0 Nov 21 2017 /usr/local/nagios/var/ndo.sock

Re: Operation centre alerts stuck

Posted: Fri Jun 29, 2018 2:11 pm
by scottwilkerson
Ok, there's the problem, lets run

Code: Select all

rm -f /usr/local/nagios/var/ndo*
service nagios stop
service ndo2db stop
service ndo2db start
service nagios start

Re: Operation centre alerts stuck

Posted: Fri Jun 29, 2018 11:55 pm
by buzinessware
hi

thank you, your recommendation worked and now things are back to normal.

Re: Operation centre alerts stuck

Posted: Mon Jul 02, 2018 9:07 am
by scottwilkerson
buzinessware wrote:hi

thank you, your recommendation worked and now things are back to normal.
Excellent! Glad it is back to normal!