Last Check is not updating

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
skttec
Posts: 2
Joined: Mon Mar 18, 2019 4:00 am

Last Check is not updating

Post by skttec »

Hello,

we have a problem with our nagios core 4.4.3 version.
The "Last Check" column is not updating anymore. An colleague did a "hard shutdown" and after that mistake the date is not updating.

We did a scheduled shutdown of the server but that did not solved the problem. What can we do, to get the nagios running back again?
Thanks
Best regards
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Last Check is not updating

Post by tgriep »

If you login to the Nagios Web interface and go to the System > Process Info menu, does it show that the process is running and that Service and Host checks are being executed?

If the Nagios process is not running and you cannot start it from the GUI, run this as root to verify the configs verify without any errors.

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Adjust the paths if needed and post the outut.
Be sure to check out our Knowledgebase for helpful articles and solutions!
skttec
Posts: 2
Joined: Mon Mar 18, 2019 4:00 am

Re: Last Check is not updating

Post by skttec »

Hi tgriep,

yes the process was running.

I did the following from https://support.nagios.com/kb/article.php?id=19:

i changed the line in the nagios.cfg from
auto_rescheduling_window=180
to
auto_rescheduling_window=45

then i restarted the process from the gui. After that the checks are running fine.
Strange but now its working fine..
Is it necessary to change the value back to 180?
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Last Check is not updating

Post by tgriep »

I would guess that the scheduler was not running and the change to that option started it up again.
Glad it is working.

Leaving that option set to 45 seconds should be OK.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked