GroundWork (Nagios) Service Checks/Host Checks

Thomas Guyot-Sionnest dermoth at aei.ca
Tue Nov 11 05:06:42 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/11/08 10:51 PM, Sean O`Brien wrote:
> Dear All,
> 
> I have been studying GroundWork  monitor, with reference of course to Nagios.
> 
> I hope someone can answer my query.
> 
> Re: Nagios 2.x
> 
> It is my understanding that when all the service checks fail, Nagios performs host checks; the number of which we have specified to 3. At which point (after reporting that Host is in a "Non-okay" state) 
> Nagios resumes service checks. It is at this point my question lies. When does Nagios perform another host check? Would it be after all the service checks are reported "Okay" or will Nagios perform a 
> host check after the first service check reports "okay".
> 
> Thank you to all in advance for taking the time to read this and respond, it`s highly appreciated.

I might be wrong, but as far as I know Nagios 2.x performs a host check
on each service failure, and notify for that service only if the host is
not in HARD DOWN state after the last check (when the service enter the
HARD state and the host check has already been perfiormed for that last
failure). I guess it also performs one on state changes, and possibly
not when services are already in a hard critical state, to detect host
up (haven't really read on that but that seems to be the logical thing
to do).

With Nagios 3.x, there's scheduled host checks and result caching in the
mix, so that :
1. not every service failure will result in a host check
2. Host checks are not run serially like they did in nagios 2.x, which
was by far the biggest bottleneck.

The official Nagios documentation explains the check logic in details if
you read it thoughtfully.

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJGQTS6dZ+Kt5BchYRAnOQAKDy6jYFWUSHe/+r5oPdrA4C0UM2LgCaA2Hi
oIqady/Kz99UlzxLxDNhGiw=
=kY+I
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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