avail.cgi incorrect statistics

Chris Wilson chris at aidworld.org
Tue Jul 5 16:05:21 CEST 2005


Hi all,

> The report from avail.cgi shows an 18 hour downtime period, from
> 30-06-2005 16:00:53 to 01-07-2005 10:33:21: SERVICE CRITICAL
> (Network is unreachable).
> 
> However, the history shows that the downtime was only 12 minutes:

On further investigation, it seems that the service came back up in a
SOFT state, and never transitioned to a HARD state until Nagios was
restarted. I assume that was the reason that avail.cgi reported it as
still being down.

Can anyone think of a reason why Nagios might not change a service from
SOFT to HARD state? There are no events logged for that service between
the transition to SOFT OK, and the nagios restart. Just after restart, I
saw the following:

[Fri Jul  1 10:35:21 2005] Warning: The results of service 'filter
www.google.co.uk' on host 'virt2.loband.org' are stale by 45 seconds
(threshold=75 seconds). I'm forcing an immediate check of the service.

and then a transition to HARD OK state.

Cheers, Chris.
-- 
(aidworld) chris wilson | chief engineer (chris at aidworld.org)



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list