Page 2 of 2

Re: Host and service notifications "ghosts"

Posted: Mon Feb 11, 2019 4:59 pm
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

Re: Host and service notifications "ghosts"

Posted: Mon Feb 11, 2019 5:35 pm
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

Re: Host and service notifications "ghosts"

Posted: Tue Feb 12, 2019 12:42 pm
by ecastillo
runnin the script for truncate the tables, like that you recommended and stopped ghost notifications.the issue is resolved.. thanks a lot!! ;)

Re: Host and service notifications "ghosts"

Posted: Tue Feb 12, 2019 12:50 pm
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