Why distinguish hosts from services?

Thomas Guyot-Sionnest dermoth at aei.ca
Thu Aug 7 13:37:24 CEST 2008


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

On 07/08/08 05:14 AM, Stéphane Urbanovski wrote:
> Holger Weiss a écrit :
> 
>> PS: On nagios-users@, there was a feature request for some option to
>>     derive the state of some host from the state of some service, which
>>     I have no strong opinion on, but which provoked me to finally ask
>>     this question here :-)  See:
>>
>> 	http://thread.gmane.org/gmane.network.nagios.user/56068
> 
> I also think it's a good idea.
> I always ask me why I need to define a test for a host (usualy ping) while I already defined a ping service on all hosts.
> 

Than make the host check a "check_dummy!0!Host assumed to be up" pull
the plug on that host and enjoy the spam when your host goes down.

An an exercise, you can do the same on a router and it's 1,000 hosts
behind it, pull the plug on the router and watch your mail server melt
down as nagios starts sending 10,000 notifications at once :)

Seriously, hosts implement two type of dependencies:

1. Service depend on the host being up
2. Child hosts depend on parent host being up (will send UNREACHABLE
notifications instead of DOWN on child hosts, and those can be filtered out)

In most setups you will need at least one of these dependencies, so if
you remove host checks you will need another simple and obvious way to
define them. Do you have a suggestion for that?

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

iD8DBQFImt506dZ+Kt5BchYRAlcnAJwOxNi/xQjd3dK3BoSAje9uC7v8OACg9/dd
A5esVbB107+Yj2mdUSB8QJU=
=t/pU
-----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=/




More information about the Developers mailing list