There is a bug in XI 5.7+ with the new NDO on some systems with statuses not being updated in the XI interface (Core shows correctly), there is not currently a resolution for it, development is currently working the issue.
As a workaround, please do this to downgrade NDO3 to NDO2DB (they are entirely different) and it should resolve your issues:
Take an XI backup first just in case:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Code: Select all
systemctl stop nagios
cd /tmp
rm -rf /tmp/nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.6.14.tar.gz
tar zxf xi-5.6.14.tar.gz
cd /tmp/nagiosxi/subcomponents/ndoutils
./install
systemctl enable ndo2db
systemctl start ndo2db
Then edit your
/usr/local/nagios/etc/nagios.cfg and make sure this line is
uncommented:
Code: Select all
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
Make sure this line is
commented:
Code: Select all
#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
Then start the nagios service:
To fix the duplicate issue, please do this:
Code: Select all
mysql -uroot -pnagiosxi -h 127.0.0.1 -e "delete from nagios_objects where name1 like '%SSQL12%';"
Then apply configuration.
If you have a lot of these you can do this:
Code: Select all
mysql -uroot -pnagiosxi -h 127.0.0.1 -e "truncate table nagios_objects;"
Then apply config and it should be right as rain.