Nagios XI - Last Check Time Not Updating

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scharft
Posts: 112
Joined: Wed Jul 29, 2015 6:55 am

Nagios XI - Last Check Time Not Updating

Post 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?
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios XI - Last Check Time Not Updating

Post 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
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!
scharft
Posts: 112
Joined: Wed Jul 29, 2015 6:55 am

Re: Nagios XI - Last Check Time Not Updating

Post 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
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios XI - Last Check Time Not Updating

Post by benjaminsmith »

Hi Thomas,

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

Regards,
Benjamin
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!
scharft
Posts: 112
Joined: Wed Jul 29, 2015 6:55 am

Re: Nagios XI - Last Check Time Not Updating

Post by scharft »

Hi Benjamin,

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

best Thomas
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI - Last Check Time Not Updating

Post 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.
Last edited by tgriep on Mon Jan 11, 2021 5:03 pm, edited 1 time in total.
Reason: Removed ndo-master file as it has been updated.
Be sure to check out our Knowledgebase for helpful articles and solutions!
scharft
Posts: 112
Joined: Wed Jul 29, 2015 6:55 am

Re: Nagios XI - Last Check Time Not Updating

Post by scharft »

Hi,

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

best
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI - Last Check Time Not Updating

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
scharft
Posts: 112
Joined: Wed Jul 29, 2015 6:55 am

Re: Nagios XI - Last Check Time Not Updating

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI - Last Check Time Not Updating

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked