checkhostalive vs ping service

Israel Brewster israel at frontierflying.com
Tue Nov 4 18:14:41 CET 2008


For me, I went to doing all host checks (pings)/no service checks once  
we went to nagios 3 because of the logic of it. When I am pinging a  
host, I am checking to see if a host is up, i.e. host check. "ping"  
isn't some service running on the host that I am checking, it is  
checking the host itself. So from a logic standpoint, to me at least,  
it made more sense to just do the host checks.
-----------------------------------------------
Israel Brewster
Computer Support Technician
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------


On Oct 31, 2008, at 2:10 AM, L B wrote:

> 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


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