check_icmp/ping works but native ping fails
Richard Aseltine
rha298 at hotmail.com
Wed Mar 25 21:22:34 CET 2009
> ping PHIPACHP02OPE19 1
no answer from PHIPACHP02OPE19
***********************************************
>./check_ping -H PHIPACHP02OPE19 -w 1000.0,20% -c 2000.0,60%
OK - PHIPACHP02OPE19: rta 0.681ms, lost 0%|rta=0.681ms;1000.000;2000.000;0; pl=0%;20;60;;
Still puzzled
Thanks
> From: marc at ena.com
> To: nagios-users at lists.sourceforge.net
> Date: Wed, 25 Mar 2009 14:58:29 -0500
> Subject: Re: [Nagios-users] check_icmp/ping works but native ping fails
>
>
> 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
_________________________________________________________________
Hotmail® is up to 70% faster. Now good news travels really fast.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090325/4edc0c2c/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
-------------- next part --------------
_______________________________________________
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