Page 1 of 2

Nagios XI - Last Check Time Not Updating

Posted: Sun Nov 22, 2020 9:29 am
by scharft
Hi,

since "2020-11-21 03:05:03" the last check result doesn't update only in Nagiosxi, in Nagios Core everything is fine.
Database repair script and reboot doesn't fix it.

e.g. https://support.nagios.com/kb/article.p ... %20checks).
https://assets.nagios.com/downloads/nag ... ptions.pdf
doesn't help.

Any Ideas?

Re: Nagios XI - Last Check Time Not Updating

Posted: Mon Nov 23, 2020 6:01 pm
by benjaminsmith
Hi @scharft,

When did this start happening? After an upgrade?

It looks like a ndo (database component) issue. If you can send me the system profile, I can review the logs and settings to double check.

Regards,
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: Nagios XI - Last Check Time Not Updating

Posted: Tue Nov 24, 2020 2:22 am
by scharft
Hi Benjamin,

this happening started last Saturday night, date & tiime you can see in the screenshot ~ 03:00:00 for all of the checks.
We upgraded Nagios XI to Version 5.7.5 after this problem, we hoped this will fix it.

The profile is attached.

thank you

best Regards
thomas

Re: Nagios XI - Last Check Time Not Updating

Posted: Tue Nov 24, 2020 6:12 pm
by benjaminsmith
Hi Thomas,

I'm going to reach out to the team on this issue, I'll update you shortly.

Regards,
Benjamin

Re: Nagios XI - Last Check Time Not Updating

Posted: Wed Nov 25, 2020 8:00 am
by scharft
Hi Benjamin,

we had the same issue after apply a new configuraiton the days before the issue happen..

best Thomas

Re: Nagios XI - Last Check Time Not Updating

Posted: Wed Nov 25, 2020 12:35 pm
by tgriep
Attached to the post is an updated NDO3 broker.
Copy the mod-master.tar.gz file to the XI server and run the following to compile, install it and to restart nagios.

Code: Select all

tar xvfz ndo-master.tar.gz
cd ndo-master
./configure
make all
make install
Save the file and then restart nagios.

Code: Select all

service nagios restart
See if this helps the issue you are having.

Re: Nagios XI - Last Check Time Not Updating

Posted: Fri Nov 27, 2020 2:36 am
by scharft
Hi,

thank you.
the error has been fixed.
Can you please explain what was the problem?

best

Re: Nagios XI - Last Check Time Not Updating

Posted: Mon Nov 30, 2020 10:02 am
by tgriep
There was a bug in the older NDO3 broker that would not update the checks in the MYSQL database which the XI interface uses to display the data.
The new broker fixed that.

Re: Nagios XI - Last Check Time Not Updating

Posted: Wed Dec 02, 2020 7:53 am
by scharft
ok, thank you.
Can you check if we have an error in the ndo on our new server?
After applying a new configuration we have to wait ~10 - 30 minutes until the last check result updates the values.

This is shown => 18598d 13h 46m 31s 0/0 1970-01-01 00:00:01 No check results for service yet.

The systemprofile is attached

Re: Nagios XI - Last Check Time Not Updating

Posted: Wed Dec 02, 2020 5:05 pm
by tgriep
I am going to need to see the nagios.log file from the server to determine if there are any errors.

Restart nagios by running this.

Code: Select all

systemctl restart nagios
Wait for an hour and post the /usr/local/nagios/var/nagios.log file so I can view it.