checkhostalive vs ping service

L B bertignac at gmail.com
Fri Oct 31 11:10:01 CET 2008


Hello all,

What is the difference between checking a host is alive with a check
in the host template (check_command check-host-alive), and creating a
ping service applied to the host ?
I did a test with both configurations, and didn't see a different behavior.

I thought it was a question of dependencies: if a service fails, a
host check is done to check if the host is up. But if one of the
services (ping or another) fails, a host check is done anyway even if
my host checks are disabled (check_interval 0), (that's a correct
behavior for me)

 My configuration doesn't have host checks because it was imported
from Nagios 2.x, and disabling host checks was an optimization setting
I've read somewhere (I also read that it's not necessary anymore with
nagios 3) . Now I'm running Nagios 3, so I'm wondering if it would
make sense to disable the ping service checks and do it as a host
check. Why should I do /don't do this ?

Thanks!
-- 
L.B.

-------------------------------------------------------------------------
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