check-host-alive v. ping service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

check-host-alive v. ping service

Post 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)?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: check-host-alive v. ping service

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: check-host-alive v. ping service

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check-host-alive v. ping service

Post by scottwilkerson »

Yep you should be allright with that
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked