Page 1 of 1

Pb UI nagiosxi check after Update 5.7.5

Posted: Tue Dec 08, 2020 3:30 am
by nagiostpm
Hi,

I updated my nagiosxi 5.6.12 to 5.7.5 (centos 6) and the checks are frozen in nagiosxi interface. In the same time it's ok in nagios core interface...

for exemple in nagiosxi :
Last Check: 12/08/2020 06:56:10
Next Check: 12/08/2020 07:01:10

The same monitoring on nagios core at the same time is ok :
Last Check Time: 12-08-2020 09:26:40
Next Scheduled Check: 12-08-2020 09:31:40

Forcing the check doesn't change anythink and same pb with the update to 5.7.4.

thanks for your help

Re: Pb UI nagiosxi check after Update 5.7.5

Posted: Tue Dec 08, 2020 11:39 am
by benjaminsmith
Hi @nagiostpm,

The delayed check results are usually related to the backend database (ndo3) in 5.7.x. Let's run the database repair script and then restart the nagios service and let me know if you see an update when you force an immediate check from the GUI.

To repair the database, run the following as root:

Code: Select all

/usr/local/nagiosxi/scripts/repair_databases.sh
Then restart the nagios service:

Code: Select all

systemctl restart nagios
If the issue persits and this is your production monitoring server, I would recommend reverting to the previous major releases of ndo. The following instructions are for a local database. If your nagios database is offloaded, let me know, and I'll provide those instructions.

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
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
Otherwise, send over the system profile and I can check the logs for you. Lastly, Cent 6 is EOL and will not longer be receiving updates, I would recommend to start planning a migration in the near future.

For more info, see following post:
CentOS 6 is now End of Life and there are no more updates

Best Reagards,
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

Re: Pb UI nagiosxi check after Update 5.7.5

Posted: Tue Dec 08, 2020 11:48 am
by benjaminsmith
Hi,

Just noticed you opened a ticket for this issue, please refer any new communications to ticket #33519, and we'll close this post so we can best focus our efforts.

Thanks!