Strange Host check behaviour

Andreas Ericsson ae at op5.se
Tue Nov 30 10:36:12 CET 2004



Sand Philipp wrote:
> Hi,
> 
> I'm using Nagios 2.0a1. And I experienced a strange Hostcheck behavior last night.
> As far as a knew/understood so far, the host checks are only executed when a service check is gone critical... not in this case i experienced the last night.
> Here's the story:
> I Have a host with one service check attached. Last night, I got the following Alert Log Entries:
> 
> [29-11-2004 01:24:04] SERVICE ALERT: hostxyz;SAPINFO Check;CRITICAL;HARD;1;ERROR connection to host 192.168.123.123, service 3303 timed out
> [29-11-2004 01:24:03] HOST ALERT: hostxyz;DOWN;HARD;5;CRITICAL - Plugin timed out after 10 seconds
> [29-11-2004 01:23:52] HOST ALERT: hostxyz;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds
> [29-11-2004 01:23:42] HOST ALERT: hostxyz;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds
> [29-11-2004 01:23:32] HOST ALERT: hostxyz;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds
> [29-11-2004 01:23:22] HOST ALERT: hostxyz;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds
> 
> 
> No Service or host Alerts before those Messages.
> First Question: Why were the Host checks executed before the Service check gone critical???
> 

They probably weren't. I believe the logging of the service alert just 
got stalled until the host checks had been executed.

> Second Question: After those Alerts, no alert came until I corrected the Service check,
> although the Host had been reachable. With which kind of algorithm are the Host checks
> scheduled, when the Host is down??
> 

Hosts are checked when their services change states. I believe host 
checks are also performed when their children hosts change states.

Two things to note;
1. I believe a lot. ;) If someone else comes up with a more definite 
answer you should probably trust them more.
2. Posting the exact same email twice isn't going to get you any help 
any faster. In fact, posting each question you have once a day is 
downright rude. Please don't do that.
-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
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