Nagios notifies on HARD states (or flapping, which is another matter). It's generally assumed that people don't want to be notified every time there's a failed check - they want to be notified after it's failed a certain number of times.<div>
<br></div><div>A SOFT state is a state where non-OK checks have occurred less than max_check_attempts number of times. In your case, it appears that max_check_attempts is 3. Nagios will try host or service (in your example) 3 times before going into a HARD state and notifying.<br>
<br></div><div>In your example there appears to be a discrepancy between the retry_check_interval and when the checks were actually performed.</div><div><br></div><div>Jeffrey.</div><div><br><div class="gmail_quote">On Wed, Jan 26, 2011 at 9:32 AM, <span dir="ltr"><<a href="mailto:l.vazquez@bpa.ad">l.vazquez@bpa.ad</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><font size="2" face="Arial">Good Evening,</font>
<br>
<br><font size="2" face="Arial">I have a doubt with nagios notification criteria.
</font>
<br>
<br><font size="3">[26-01-2011 15:40:45] SERVICE ALERT: hostName;serviceName;CRITICAL;HARD;3;Trying
IP:443... [ KO ] :: Host no accessible <br>
[2601-2011 15:29:05] SERVICE ALERT: hostName;serviceName;CRITICAL;SOFT;2;Trying
IP:443... [ KO ] :: Host no accessible <br>
[26-01-2011 15:16:05] SERVICE ALERT: hostName;serviceName;CRITICAL;SOFT;1;Trying
IP4:443... [ KO ] :: Host no accessible </font>
<br>
<br><font size="3">The critical state began at 15:16, but I didn't receive
any notification tll 15:40, when 'HARD' has been marked instead of 'SOFT'.</font>
<br><font size="3">What's the difference? What's the service/config parameter
of 'HARD'/'SOFT'?</font>
<br>
<br><font size="3">This is my service config:</font>
<br>
<br><font size="3"> retry_check_interval
5</font>
<br><font size="3"> notification_interval
30</font>
<br><font size="3"> notification_period
24x7</font>
<br><font size="3"> notification_options
w,u,c,r</font>
<br>
<br><font size="3">Thanks in advance,</font><font size="1" face="Arial"><br>
--</font><font size="1" face="Verdana"><b><br>
Laura Vàzquez Martín</b></font><br><br></blockquote></div><br></div>