check_ping vs check_icmp

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cloberjewels
Posts: 23
Joined: Wed Sep 21, 2011 10:59 am

check_ping vs check_icmp

Post by cloberjewels »

Hi, can someone explain the benefits/differences between check_ping and check_icmp please? Is there a time/place to use one over the other? Thanks - Chris
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: check_ping vs check_icmp

Post by lmiltchev »

If you are running a server that is not allowed to respond to ping you may use http in your "check-host-alive" command instead of ping. Please, read more on the topic here:

http://assets.nagios.com/downloads/nagi ... _In_XI.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
cloberjewels
Posts: 23
Joined: Wed Sep 21, 2011 10:59 am

Re: check_ping vs check_icmp

Post by cloberjewels »

Thanks. I see the check-host-alive uses the check_icmp plugin. There is also a check_ping plugin. What is the difference between those two plugins though?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: check_ping vs check_icmp

Post by lmiltchev »

As far as I know, the "check_ping" relies on the "/bin/ping" to perform the check, while the "check_icmp" performs the check itself. The "check_icmp" is supposed to be much more efficient than the "check_ping".
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked