Page 1 of 1

Nagios XI errant notifications

Posted: Mon Nov 19, 2018 4:48 pm
by deano153
Hi,
I am running Nagios XI 5.5.7 on CentOS 6.9

I upgraded nagios last friday to 5.5.7

That afternoon we had a site wide planned power outage..
Nagios XI was the first thing I powered off and the last thing I powered back on.

Ever since the power on, we are getting notifications on almost all of out hosts that they are UNREACHABLE

But when I look at the hosts in nagios they are good and up.

I found in a thread to check to see if there are multiple instances running with this command
[root@pa-nagios ~]# ps -ef | grep nagios.cfg | grep -v grep
nagios 1699 1 2 16:34 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 1734 1699 0 16:34 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg

I have shutdown "Notifications" Globally but are still receiving them...

I really need help here.

Re: Nagios XI errant notifications

Posted: Mon Nov 19, 2018 4:55 pm
by scottwilkerson
If you go to Home -> Tactical Overview do you see anything under "Network Outages" ?

Re: Nagios XI errant notifications

Posted: Mon Nov 19, 2018 4:59 pm
by npolovenko
@deano153, In addition to what @scottwilkerson said, please run the following query to truncate notification tables in the database and let me know if you stop recieving them.
echo "truncate table xi_events; truncate table xi_meta; truncate table xi_eventqueue;" | mysql -uroot -pnagiosxi nagiosxi

Re: Nagios XI errant notifications

Posted: Mon Nov 19, 2018 5:21 pm
by deano153
0 in network outages

and the truncating looks to have helped ... for now...

thanks

Re: Nagios XI errant notifications

Posted: Mon Nov 19, 2018 5:39 pm
by npolovenko
@ deano153, Looks like there were many spooled notifications by the time you disabled them globally, so the only way to get rid of them was by running the query. Let me know if these notifications come back again.

Re: Nagios XI errant notifications

Posted: Tue Nov 20, 2018 7:55 am
by deano153
12 hours later and no errant notifications...

Thank you much

Re: Nagios XI errant notifications

Posted: Tue Nov 20, 2018 8:49 am
by scottwilkerson
deano153 wrote:12 hours later and no errant notifications...

Thank you much
glad the issue is resolved.

Locking thread