<html>
<head>
</head>
<body>
The only time nagios will stop doing service checks at the normal_check_interval
for that service is if that service has a servicedependency that's execution
failure criteria is true.<br>
<br>
Otherwise, service checks will continue as planned. The way nagios knows
that a host has come back up is if any service on that host has recovered
to OK. While a host and its services are down, when a service check occurs,
it won't go through all the retries (already in a hard state - no need to
retry), but it will check the service once,<br>
<br>
Also, do you have aggressive_host_checking enabled in your nagios.cfg? The
only reason I can guess that the host check is also occurring when the service
check occurs is that you have that setting enabled. Otherwise a host will
only get checked after the first service check failure (when the host is
still up).<br>
<br>
Hope this helps.<br>
<br>
-Russell<br>
<br>
Bishop, Dean wrote:<br>
<blockquote type="cite" cite="mid:DE220CABCDF9D311B098009027F43AF408334A1D@EXMB01.tcdsb.org">
<title></title>
<meta content="MSHTML 6.00.2716.2200" name="GENERATOR">
<p><font size="2">First, sorry bout the subject i realize that it is inappropriate.
it does, however capture my initial response.<br>
<br>
We are in the midst of many nightmares concurrently: smoking servers, irreplaceable
data lost, network latency, cold lunch, sore finger, you know the whole
gambut at once.<br>
</font></p>
<p><font size="2">apologies to all.<br>
<br>
here is another entry from my logs. Each host is dependant on the previously
numbered host (e.g. Marshall-McLuhan-0561SW2A_4-HS7 is the parent of Marshall-McLuhan-0561SW2A_5-HS7
who is the parent of Marshall-McLuhan-0561SW2A_6-HS7, etc.</font></p>
<div><font size="2"><font face="Arial" color="#0000ff">why, once <font face="Times New Roman" color="#000000">
Marshall-McLuhan-0561SW2A_14-HS7 is determined to be UNREACHABLE (due to
the failure of Marshall-McLuhan-0561SW2A_4-HS7), is the service checked
on Marshall-McLuhan-0561SW2A_14-HS7?</font></font></font></div>
<p><font size="2"><br>
<br>
[1034172479] HOST ALERT: Marshall-McLuhan-0561SW2A_14-HS7;DOWN;SOFT;1;CRITICAL
- Plugin timed out after 18 seconds<br>
[1034172516] HOST ALERT: Marshall-McLuhan-0561SW2A_7-HS7;DOWN;SOFT;1;CRITICAL
- Plugin timed out after 18 seconds<br>
[1034172552] HOST ALERT: Marshall-McLuhan-0561SW2A_6-HS7;DOWN;SOFT;1;CRITICAL
- Plugin timed out after 18 seconds<br>
[1034172588] HOST ALERT: Marshall-McLuhan-0561SW2A_5-HS7;DOWN;SOFT;1;CRITICAL
- Plugin timed out after 18 seconds<br>
[1034172624] HOST ALERT: Marshall-McLuhan-0561SW2A_4-HS7;DOWN;SOFT;1;CRITICAL
- Plugin timed out after 18 seconds<br>
[1034172644] HOST ALERT: Marshall-McLuhan-0561SW2A_4-HS7;DOWN;HARD;2;CRITICAL
- Plugin timed out after 18 seconds<br>
[1034172644] HOST NOTIFICATION: nagiosadmin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL
- Plugin timed out after 18 seconds<br>
[1034172645] HOST NOTIFICATION: Marco;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL
- Plugin timed out after 18 seconds<br>
[1034172645] HOST NOTIFICATION: Kevin-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRITICAL
- Plugin timed out after 18 seconds<br>
[1034172645] HOST NOTIFICATION: Kevin;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL
- Plugin timed out after 18 seconds<br>
[1034172646] HOST NOTIFICATION: Keith-NonCritical;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;notify-by-epager;CRITICAL
- Plugin timed out after 18 seconds<br>
[1034172646] HOST NOTIFICATION: Keith;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL
- Plugin timed out after 18 seconds<br>
[1034172646] HOST NOTIFICATION: Ben;Marshall-McLuhan-0561SW2A_4-HS7;DOWN;host-notify-by-email;CRITICAL
- Plugin timed out after 18 seconds<br>
[1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_5-HS7;UNREACHABLE;HARD;2;CRITICAL
- Plugin timed out after 18 seconds<br>
[1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_6-HS7;UNREACHABLE;HARD;2;CRITICAL
- Plugin timed out after 18 seconds<br>
[1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_7-HS7;UNREACHABLE;HARD;2;CRITICAL
- Plugin timed out after 18 seconds<br>
[1034172647] HOST ALERT: Marshall-McLuhan-0561SW2A_14-HS7;UNREACHABLE;HARD;2;CRITICAL
- Plugin timed out after 18 seconds<br>
[1034172647] SERVICE ALERT: Marshall-McLuhan-0561SW2A_14-HS7;Port Check-23;CRITICAL;HARD;1;Socket
timeout after 10 seconds<br>
<br>
<br>
-----Original Message-----<br>
From: Bishop, Dean<br>
Sent: Thursday, October 10, 2002 1:04 PM<br>
To: '<a class="moz-txt-link-abbreviated" href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a>'<br>
Subject: What the *&#( !!<br>
Importance: High<br>
<br>
<br>
Can someone explain this to me??<br>
<br>
<br>
why in the world is the service for testserver01.tcdsb.org being checked
after the host has been determined down?<br>
also why is the host being checked before the service??<br>
<br>
<br>
<br>
<br>
[root@NMS var]# tail nagios.log -n 3000 |grep testserver01<br>
<br>
[1034266896] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;(Host assumed
to be up)<br>
[1034266896] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check
135;OK;HARD;1;TCP OK - 0 second response time on port 135<br>
[1034267924] HOST ALERT: testserver01.tcdsb.org;DOWN;SOFT;1;CRITICAL - Plugin
timed out after 8 seconds<br>
[1034267933] HOST ALERT: testserver01.tcdsb.org;DOWN;HARD;2;CRITICAL - Plugin
timed out after 8 seconds<br>
[1034267933] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;DOWN;host-notify-by-email;CRITICAL
- Plugin timed out after 8 seconds<br>
[1034267934] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;DOWN;host-notify-by-email;CRITICAL
- Plugin timed out after 8 seconds<br>
[1034267934] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check
135;CRITICAL;HARD;1;Socket timeout after 2 seconds<br>
[1034268938] HOST ALERT: testserver01.tcdsb.org;UP;HARD;1;PING OK - Packet
loss = 0%, RTA = 0.61 ms<br>
[1034268938] HOST NOTIFICATION:nagiosadmin;testserver01.tcdsb.org;UP;host-notify-by-email;PING
OK - Packet loss = 0%, RTA = 0.61 ms<br>
[1034268938] HOST NOTIFICATION:Keith;testserver01.tcdsb.org;UP;host-notify-by-email;PING
OK - Packet loss = 0%, RTA = 0.61 ms<br>
[1034268938] SERVICE ALERT: testserver01.tcdsb.org;Misc Servers - Port Check
135;OK;HARD;1;TCP OK - 0 second response time on port 135<br>
<br>
[root@NMS var]#</font></p>
</blockquote>
<br>
<pre class="moz-signature" cols="$mailwrapcol">--
Russell Scibetti
Quadrix Solutions, Inc.
<a class="moz-txt-link-freetext" href="http://www.quadrix.com">http://www.quadrix.com</a>
(732) 235-2335, ext. 7038
</pre>
<br>
</body>
</html>