Nagios 5.7.1 - BPI Inaccessible after apply config changes

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
dariusz.nalazek
Posts: 39
Joined: Thu Nov 16, 2017 6:46 am

Nagios 5.7.1 - BPI Inaccessible after apply config changes

Post by dariusz.nalazek »

After migration to 5.7.1, we find out some strange behavior of Nagios and particularly BPI monitoring.

After apply new changes in configuration (host/service or so), Nagios shows 0 hosts and 0 services for some period of time, Nagios performs config’s refresh/reload or so....
During the time BPI starts sending alerts because essential hosts are unavailable, so all the big bosses concern about quality of their business services.

Is there any way to speed up data reload or change settings in BPI to recognize the data reload state?
For now, as workaround, we extend timeouts inside BPI and particular services, but in this way we slow down information flow for critical services :(
It's new behavior to 5.7.x (as we watch the graphs of availability), apply configuration changes in 5.6.x was transparent to BPI monitoring.



Darek.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios 5.7.1 - BPI Inaccessible after apply config chang

Post by cdienger »

This will be addressed in the 5.7.2 release expected asap(mid next weekish unnamed sources have said). In the meantime you can continue with the work around or you can revert the ndo install to work like it did previously.

The steps for reverting to the old ndo process on a Cent/RHEL 7 machine are:

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:

Code: Select all

systemctl start nagios
or on a Cent/RHEL 6 machine:

Code: Select all

service nagios stop
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
service ndo2db start
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:

Code: Select all

service nagios start
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.