Host check doesn't wait in-between checks.

Josh Konkol samba at guidemail.com
Tue Jun 6 16:55:50 CEST 2006


Marc Powell <marc <at> ena.com> writes:

> 
> 
> > -----Original Message-----
> > I'm running Nagios 2.3.1.
> > 
> > I'm running into this scenario:  When a host goes down I've noticed
> that
> > the Host checks aren't waiting for any period of time between the host
> > alive checks.  
> > 
> > I have the host retries at 3 and you can see that it tried 3 times but
> > there was no waiting in-between tries.
> > 
> > Anyone have any ideas?
> 
> That is expected and desired behavior. Host checks are done serially,
> not in parallel fashion like service checks. While host checks are being
> performed all other activities such as service checks and notifications
> stop until the state of the host is definitely determined (i.e. in a
> HARD state). It is therefore important that the host check completes as
> quickly as possible so that nagios can move back into parallel operation
> mode.
> 
> http://nagios.sourceforge.net/docs/2_0/networkreachability.html details
> some of the benefits of this.
> 
> --
> Marc
> 
 

Maybe I'm dense, but isn't Nagios doing the checks in parallel if it's running 3
host checks on the same host at exactly the same time?

What is the point of setting a Host max_check_attempts if Nagios isn't going to
wait in between checking?

Not trying to be a pain, I just want to understand.  I was thinking that if I
set the max_check_attemps to 3 it should try the check 3 times (one at a time)
before telling me the host is down.



Josh






_______________________________________________
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