Page 1 of 1
Last Check is not updating
Posted: Mon Mar 18, 2019 4:06 am
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
Re: Last Check is not updating
Posted: Mon Mar 18, 2019 4:31 pm
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.
Re: Last Check is not updating
Posted: Tue Mar 19, 2019 2:38 am
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?
Re: Last Check is not updating
Posted: Tue Mar 19, 2019 2:14 pm
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.