check_icmp/ping works but native ping fails

Marc Powell marc at ena.com
Wed Mar 25 20:58:29 CET 2009


On Mar 25, 2009, at 12:54 PM, Richard Aseltine wrote:

> Looks like I need an education here.
>
> check_icmp and check_ping can check a particular device but native  
> ping fails. Any help with understanding this would be great..

check_icmp uses it's own sockets code. check_ping is just a wrapper  
for 'native ping' (i.e. /bin/ping). if check_ping works, regular old  
ping must as well.

You can see the flags the check_ping is passing to /bin/ping by  
passing verbose flags --

$ ./plugins/check_ping -H localhost -w 10,10% -c 50,50% -vv
CMD: /bin/ping -n -U -w 10 -c 5 localhost
PING OK - Packet loss = 0%, RTA = 0.04 ms
10.000000:10% 50.000000:50%


--
Marc


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