<br><font size=2><tt>OK, I have find the explanation as what means a "check_interval"
being set to 0 in the documentation of Nagios 3 (we are using 2.9 here):
0 means *regular* host checks are not performed. Which is good.</tt></font>
<br>
<br><font size=2><tt>I have another question now: Are on-demand host checks
scheduled when a service transits in a *soft* not-OK state or when it transits
in a *hard* not-ok state?</tt></font>
<br>
<br><font size=2><tt>This is a quite important question since knowing the
answer to this question will influence the value I'm gonna set for the
host "max_check_attempts" parameter: When "on-demand host
checks" are scheduled when a service transits in a *hard* not-OK state,
I will set the host "max_check_attempts" to a lower value than
when "on-demand host checks" are scheduled when a service transits
in a *hard* not-OK state (since I'm more confident in the service check
result).</tt></font>
<br>
<br><font size=2><tt>Also, there is something else not very clear in Nagios
3 documentation:</tt></font>
<br>
<br><font size=2><tt>(from http://nagios.sourceforge.net/docs/3_0/hostchecks.html)</tt></font>
<br><font size=2><tt>"Hosts which have their <i>max_check_attempts</i>
value set to <b>1</b> can cause serious performance problems. The reason?
If Nagios needs to determine their true state using the </tt></font><a href=http://nagios.sourceforge.net/docs/3_0/networkreachability.html><font size=2 color=blue><tt><u>network
reachability</u></tt></font></a><font size=2><tt> logic (to see if they're
DOWN or UNREACHABLE), it will have to launch <b>serial</b> checks of all
of the host's immediate parents. Just to reiterate, those checks are run
<i>serially</i>, rather than in parallel, so it can cause a big performance
hit. For this reason, I would recommend that you always use a value greater
than 1 for the <i>max_check_attempts</i> directives in your host definitions."</tt></font>
<br>
<br><font size=2><tt>Well, I believe the writer of this documentation but
I don't understand why setting this parameter to 1 will serialize the host's
parents checks. Can someone explain me this point?</tt></font>
<br>
<br><font size=2><tt>Best regards,</tt></font>
<br>
<br><font size=2><tt>Cyrille</tt></font>
<br><font size=2><tt><br>
> <br>
> Hi all, <br>
> <br>
> My host checks are configured as follow: <br>
> <br>
> Host Name        Max. Check Attempts    
   Check Interval         <br>
> Host Check Command        Enable Active Checks
        Enable <br>
> Passive Checks         Check Freshness <br>
> adabase         5        
                0h 0m 0s  
      check-host-alive<br>
> No                  
     Yes              
                 No <br>
> <br>
> Does this means that whenever a host check is needed, Nagios may <br>
> execute the "check-host-alive" command 5 times before a
notification<br>
> is sent? Wow, wouldn't be that bad?! <br>
> <br>
> And what does the "check interval" of 0 means? Might it
take 5 <br>
> minutes to get the notification? Should I set this parameter to "1min"?
<br>
> <br>
> Could you help me? <br>
> <br>
> Best regards, <br>
> <br>
> Cyrille<br>
</tt></font>