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.
Last Check Time doesnt Change
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Last Check Time doesnt Change
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
If the problem persists, please post you /usr/local/nagios/etc/nagios.cfg
If that is the case, lets run the following from the console
Code: Select all
service nagios stop
killall -9 nagios
service nagios startRe: Last Check Time doesnt Change
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..!!
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
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.
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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Last Check Time doesnt Change
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
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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Last Check Time doesnt Change
could you attach you /usr/local/nagios/etc/nagios.cfg
Thanks
Thanks
Re: Last Check Time doesnt Change
nagios.cfg attached.
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Last Check Time doesnt Change
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.
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
Hi,
host config file attached.
host config file attached.
You do not have the required permissions to view the files attached to this post.