Host and service notifications "ghosts"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ecastillo
Posts: 7
Joined: Thu Jun 09, 2016 11:19 am

Re: Host and service notifications "ghosts"

Post by ecastillo »

Thanks, we have updated to the latest version of Nagios XI, but messages from non-ok states continue to arrive when in reality there has not been a change of state
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Host and service notifications "ghosts"

Post by scottwilkerson »

Can you run the following

Code: Select all

grep pgsql /usr/local/nagiosxi/html/config.inc.php
if the output shows

Code: Select all

        "dbtype" => 'pgsql',
please run this

Code: Select all

echo "truncate table xi_events; truncate table xi_meta; truncate table xi_eventqueue;" | psql nagiosxi nagiosxi
if there is no output run the following

Code: Select all

echo "truncate table xi_events; truncate table xi_meta; truncate table xi_eventqueue;" | mysql -pnagiosxi nagiosxi
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ecastillo
Posts: 7
Joined: Thu Jun 09, 2016 11:19 am

Re: Host and service notifications "ghosts"

Post by ecastillo »

runnin the script for truncate the tables, like that you recommended and stopped ghost notifications.the issue is resolved.. thanks a lot!! ;)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Host and service notifications "ghosts"

Post by scottwilkerson »

ecastillo wrote:runnin the script for truncate the tables, like that you recommended and stopped ghost notifications.the issue is resolved.. thanks a lot!! ;)
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked