Page 1 of 1

Last check time not updated

Posted: Fri Jun 08, 2018 4:57 am
by jmercier
I have a problem where my Last Check Time does not get updated in NagiosXI.

I know the Nagios Core is ok because all the timestamp are good when i logon into it.

I tried the repair_databases.sh script but it didn't fix it.

Also, if I reboot the server, the Last Check Time of all my host and services will get updated but only once.

I think the problem is with NDO2DB but I can't put my finger on it.

thanks for your help

Re: Last check time not updated

Posted: Fri Jun 08, 2018 1:12 pm
by cdienger
It sounds like a potential issue with performance on the machine. How many hosts and services are configurd on the machine? How much memory? How much RAM?

Review the following docs to make tweaks to the config to help performance:

https://support.nagios.com/kb/article/n ... e-611.html
https://support.nagios.com/kb/article/n ... d-139.html
https://assets.nagios.com/downloads/nag ... giosXI.pdf
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Re: Last check time not updated

Posted: Fri Jun 08, 2018 2:21 pm
by glb
Hi, working on this with jmercier.
Pretty much all those tweaks were already applied before beside the php ones. The database also haven't been offloaded.
The specs of the vm (hosted on a fairly high performance blade) are:
8 vcpus
12GB ram
120 GB partition
load average usually bellow 1.

OS: RHEL 6.8
Nagios XI version: 5.4.13
Hosts: 1348
Services: 2172

A few minutes after a reboot, Nagios XI stops updating the checks results, the Monitoring Event Queue graph becomes stale and eventually the "Process state" becomes red. However, Nagios core goes on working fine updating checks.

Re: Last check time not updated

Posted: Fri Jun 08, 2018 2:49 pm
by cdienger
I'd like to get screenshots of the performance settings tabs(Admin > System Config > Performance Settings). I'd ask for specific ones but all of them can be pretty important. Please also PM us a profile which can be generated under Admin > System Config > System Profile > Generate System Profile.

Re: Last check time not updated

Posted: Fri Jun 08, 2018 4:44 pm
by glb
I've attached a zip file with the screens, since there's a limit of three attached files.

Re: Last check time not updated

Posted: Sat Jun 09, 2018 4:11 am
by jmercier
I think I have fixed the problem.

RSYSLOG was configured to forward logs to a remote server but that server was offline an I think it caused some timeout problems.

NDO2DB was trying to log in /var/log/message through RSYSLOG and was going into timeout.

I'll let you know if the problem comes back

thanks for your help!

Re: Last check time not updated

Posted: Mon Jun 11, 2018 9:33 am
by tmcdonald
We will keep this open for you. Please let us know the outcome.