Last check time not updated

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jmercier
Posts: 9
Joined: Thu Aug 03, 2017 8:19 am

Last check time not updated

Post 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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Last check time not updated

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
glb
Posts: 5
Joined: Tue Feb 18, 2014 12:34 pm

Re: Last check time not updated

Post 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.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Last check time not updated

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
glb
Posts: 5
Joined: Tue Feb 18, 2014 12:34 pm

Re: Last check time not updated

Post by glb »

I've attached a zip file with the screens, since there's a limit of three attached files.
You do not have the required permissions to view the files attached to this post.
jmercier
Posts: 9
Joined: Thu Aug 03, 2017 8:19 am

Re: Last check time not updated

Post 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!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Last check time not updated

Post by tmcdonald »

We will keep this open for you. Please let us know the outcome.
Former Nagios employee
Locked