Page 1 of 2

Service checks not updating in Nagios XI GUI with NDO-3

Posted: Mon Mar 01, 2021 11:57 am
by rdurga
Running NAGIOS XI 5.8.2 on RHEL 7, 64 bit manual install. When using NDO-3 service checks are not updating on the Nagios XI GUI. The checks are updating on the Nagios GUI.

Thank you

Re: Service checks not updating in Nagios XI GUI with NDO-3

Posted: Mon Mar 01, 2021 7:17 pm
by ssax
Please run these commands as root to downgrade NDO3 back to NDO2DB:

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
./init.sh
cd /tmp/nagiosxi/subcomponents/ndoutils
./install
systemctl enable ndo2db
If you have an offloaded database you will need to edit your /usr/local/nagios/etc/ndo2db.cfg file and update these before running the next command to start it up:
- You can get the info from your /usr/local/nagios/etc/ndo.cfg or from /usr/local/nagiosxi/html/config.inc.php

db_host
db_port
db_user
db_pass

Then run this command to start it up.:

Code: Select all

systemctl start ndo2db
Then edit your /usr/local/nagios/etc/nagios.cfg and make sure this line is uncommented/add it if needed:

Code: Select all

broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
Make sure all occurrences of this line are 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

Re: Service checks not updating in Nagios XI GUI with NDO-3

Posted: Tue Mar 02, 2021 9:42 am
by rdurga
While downgrading has been an option in the past, we want to upgrade to NDO3. We would like assistance in troubleshooting the issues.

Thank you.

Re: Service checks not updating in Nagios XI GUI with NDO-3

Posted: Wed Mar 03, 2021 6:26 pm
by benjaminsmith
Hi rdurga,

Is this is a production or test server? Please let us know. I would not recommend trying to troubleshoot this on a live production monitoring system.

Regards,
Benjamin

Re: Service checks not updating in Nagios XI GUI with NDO-3

Posted: Thu Mar 04, 2021 8:55 am
by rdurga
This is on our test server.

Re: Service checks not updating in Nagios XI GUI with NDO-3

Posted: Thu Mar 04, 2021 5:51 pm
by benjaminsmith
Hi,

Okay, to upgrade back to ndo3, run the following commands after extracting the 5.8.2 tarball.

Code: Select all

cd nagiosxi/subcomponents/ndo
./upgrade -f
--Benjamin

Re: Service checks not updating in Nagios XI GUI with NDO-3

Posted: Fri Mar 05, 2021 10:23 am
by rdurga
For our DEV server, we just upgraded to 5.8.2 and NDO3 is currently running.

Re: Service checks not updating in Nagios XI GUI with NDO-3

Posted: Fri Mar 05, 2021 6:13 pm
by benjaminsmith
HI,
For our DEV server, we just upgraded to 5.8.2 and NDO3 is currently running.
Great. How's everything going so far?

--Benjamin

Re: Service checks not updating in Nagios XI GUI with NDO-3

Posted: Mon Mar 08, 2021 9:26 am
by rdurga
The Service checks are not updating in the Nagios XI GUI. We see the changes in Nagios Core GUI. This was the problem I reported in the first post.

Re: Service checks not updating in Nagios XI GUI with NDO-3

Posted: Mon Mar 08, 2021 4:13 pm
by benjaminsmith
Hi @rdurga,

Okay, let's get the system profile off this system and we'll review the logs. Thanks, Benjamin

To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button