Page 1 of 1

check-host-alive v. ping service

Posted: Tue May 01, 2012 2:29 pm
by jbennett
Really, what's the difference here and why would one want both set on a host where all we're doing is checking to make sure it is up in the first place (a camera for instance)?

Re: check-host-alive v. ping service

Posted: Tue May 01, 2012 3:24 pm
by lmiltchev
This is used on machines that refuse ICMP ping requests and require a different way of determining if a particular host is down. Please, review our documentation on the topic here:

http://assets.nagios.com/downloads/nagi ... _In_XI.pdf

Hope this helps.

Re: check-host-alive v. ping service

Posted: Tue May 01, 2012 3:54 pm
by jbennett
So, if the check command is for check-host-alive is referencing check_ping, then it's effectively doing the exact same thing as a check_ping service? To the best of my knowledge, we do not have any equipment that refuses ICMP requests.

If this is the case, then I should be fine to eliminate one of these and only rely on the other, correct?

Breakdown of what I have:

Host Check Command: check-host-alive w/ check_ping
Template applied to host: xiwizard_genericnetdevice_host includes check_xi_host_ping (check_icmp) in the check command.
Template applied to host xiwizard_genericnetdevice_host: xiwizard_generic_host includes check_xi_host_ping (check_icmp) in the check command.
Service: Ping w/ check-host-alive w/ check_ping with Camera listed under Hosts.
Template applied to service: none

Re: check-host-alive v. ping service

Posted: Tue May 01, 2012 4:20 pm
by scottwilkerson
Yep you should be allright with that