Re: [Nagios-devel] Why distinguish hosts from services?
Posted: Thu Aug 07, 2008 3:37 am
-----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 post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
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
>>
>> 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 post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]