Page 1 of 2
Last Check Time doesnt Change
Posted: Wed Nov 28, 2012 12:47 am
by MSPk
Hi,
We are using nagios XI version 2012R1.0 on RHEL. We have been facing an issue since this morning with the nagios montoring engine. The last check time on Hosts and services doesnt seem to be changing, though the the next change time changes periodically (every 5mins as set in check interval). This is leading us to a confusion on wheather a check has been made or not.
Re: Last Check Time doesnt Change
Posted: Wed Nov 28, 2012 10:23 am
by scottwilkerson
This is odd behavior, can you go to Home -> Process Info and verify everything is green.
If that is the case, lets run the following from the console
Code: Select all
service nagios stop
killall -9 nagios
service nagios start
If the problem persists, please post you /usr/local/nagios/etc/nagios.cfg
Re: Last Check Time doesnt Change
Posted: Fri Dec 21, 2012 9:02 am
by MSPk
I See this happen only witha particular host. This morning the server was restarted and all the services were showing as critical including ping but the host was UP. when i chked closly, all the services showed the correct last check time but when I click the host name and open the details page of the host, the last check time is more than a amonth old..!!! and the status is shown as OK. I have used the option 'ping the host' on that page and even that shows that all the packets were lost.
It Happens with about 4hosts in our system, last check time on the service look fine but not the host itself..!!
Re: Last Check Time doesnt Change
Posted: Fri Dec 21, 2012 9:44 am
by jwelch
How is the host confgured? Does it have a check command configured or is it inheriting a check from a template?
Also if it's using ping, I'd do a manual ping from the command line to verify that ping actually works for that host from the nagios system (assuming it's a local active check). Even if ping fails, I would expect the last check field to update when it runs.
Re: Last Check Time doesnt Change
Posted: Fri Dec 21, 2012 9:52 am
by scottwilkerson
All of jwelch's questions are valid. I would also check that Active checks for this host haven't bee disabled from the host detail page -> Advanced tab
Re: Last Check Time doesnt Change
Posted: Fri Jan 04, 2013 6:56 am
by MSPk
This server is configured using the windows host configuration wizard and it inherits "check_xi_host_ping"-check_icmp-command from the xiwizard_windowsserver_host template configured on this host.
Re: Last Check Time doesnt Change
Posted: Fri Jan 04, 2013 12:47 pm
by scottwilkerson
could you attach you /usr/local/nagios/etc/nagios.cfg
Thanks
Re: Last Check Time doesnt Change
Posted: Tue Jan 08, 2013 12:26 am
by MSPk
nagios.cfg attached.
nagios.cfg.rtf
Re: Last Check Time doesnt Change
Posted: Tue Jan 08, 2013 11:43 am
by scottwilkerson
this all looks normal. Can you post the configuration for this host
Go to Configure -> CCM -> Hosts
click the disk icon for this host
If there is sensitive data, please feel free to obfuscate.
Re: Last Check Time doesnt Change
Posted: Wed Jan 16, 2013 1:16 am
by MSPk
Hi,
host config file attached.
host_config_file.doc