Pb UI nagiosxi check after Update 5.7.5

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nagiostpm
Posts: 11
Joined: Tue Apr 14, 2015 9:22 am

Pb UI nagiosxi check after Update 5.7.5

Post 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
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Pb UI nagiosxi check after Update 5.7.5

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Pb UI nagiosxi check after Update 5.7.5

Post 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!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked