Yes, you're right.<br><br>But what's strange in your log are also the missing SOFT states, where are they?<br>Did you define the service to be checked only once (max_check_attempts 1), every minute (check_interval and retry_interval 1) ?<br>
<br>Here's an example of a typical soft-to-hard-change:<br><br><font size="1"><span style="font-family:courier new,monospace">Jan 31 05:15:09 nagios-server nagios: SERVICE ALERT: fileserver;Drive Space F:;WARNING;SOFT;1;f:\ - total: 49.99 Gb - used: 45.80 Gb (92%) - free 4.19 Gb (8%)</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">Jan 31 05:18:09 nagios-server nagios: SERVICE ALERT: fileserver;Drive Space F:;WARNING;SOFT;2;f:\ - total: 49.99 Gb - used: 45.80 Gb (92%) - free 4.19 Gb (8%)</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">Jan 31 05:21:09 nagios-server nagios: SERVICE ALERT: fileserver;Drive Space F:;WARNING;HARD;3;f:\ - total: 49.99 Gb - used: 45.80 Gb (92%) - free 4.19 Gb (8%)</span></font><br>
<br>The 3rd check was handled as HARD state. I'm sure you know how that all works, but the missing SOFT states are strange anyhow. <br>Could you post the complete definition of this service? Maybe that'll give us a hint.<br>
<br>Another question: Is the "Ping Check" used for the same host for which the check is defined for (host_name) or is this just a ping to another remote host? If the line was down, the target host was definitely down as well, and for Nagios it wouldn't make sense to send notifications for the services defined on a host which is down.<br>
<br><div class="gmail_quote">On Mon, Jan 30, 2012 at 8:55 PM, Robert V. Bolton <span dir="ltr"><<a href="mailto:robert@robertvbolton.com">robert@robertvbolton.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Mon, Jan 30, 2012 at 11:39 AM, Claudio Kuenzler <span dir="ltr"><<a href="mailto:ck@claudiokuenzler.com" target="_blank">ck@claudiokuenzler.com</a>></span> wrote:<br></div><div class="gmail_quote">
<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It looks like you use parent-child-relationships?<br>That would explain why it's written "Host Unreachable (172.21.10.170) " instead of Host Down. <br>Was the parent of this host down as well? In this case, Nagios 'knows' that it doesn't make sense to continue checks on the child hosts.<br>
</blockquote><div><br></div></div><div>This host is duel homed using both Ethernet and Infiniband networks. To Nagios's point of view the parent of this host is the Ethernet switch that it is plugged into, which didn't go down at all during this outage. Host Unreachable is a valid ICMP code, so that's why the plugin reported this error, not because of any Nagios parent/child relationship.</div>
<div><br></div><div>So in this situation Nagios should have increased the check attempts count by one until the max check attempts threshold was reached, thus sending out a service notification. Is this an error in Nagios or the check_ping plugin. I'm using Nagios v3.2.3 and check_ping v1.4.15 by the way.</div>
<div class="im">
<div><br></div><div>--<div><b><font face="arial, helvetica, sans-serif">Robert V. Bolton</font></b></div><div><font face="arial, helvetica, sans-serif">Email: <a href="mailto:robert@robertvbolton.com" target="_blank">robert@robertvbolton.com</a></font></div>
<div>Web: <a href="http://robertvbolton.com" target="_blank">http://robertvbolton.com</a></div></div></div></div>
<br>------------------------------------------------------------------------------<br>
Try before you buy = See our experts in action!<br>
The most comprehensive online learning library for Microsoft developers<br>
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,<br>
Metro Style Apps, more. Free future releases when you subscribe now!<br>
<a href="http://p.sf.net/sfu/learndevnow-dev2" target="_blank">http://p.sf.net/sfu/learndevnow-dev2</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>