[Nagios-users] check_icmp/ping works but native ping fails
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.. Thanks Dick _ Internet Explorer 8 – Now Available. Faster, safer, easier. http://clk.atdmt.com/MRT/go/141323790/direct/01/-- ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] check_icmp/ping works but native ping fails
What does fails mean in this context? Timeout? No route to host? Does this happen for all hosts, or just for one host? Does it happen for local hosts on your own subnet as well as for remote hosts behind a router? 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.. Thanks Dick Internet Explorer 8 – Now Available. Faster, safer, easier. Download FREE now! http://clk.atdmt.com/MRT/go/141323790/direct/01/ -- ___ Nagios-users mailing list Nagios-users@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 -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. -- ___ Nagios-users mailing list Nagios-users@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
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.00:10% 50.00:50% -- Marc -- ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] check_icmp/ping works but native ping fails
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: m...@ena.com To: nagios-users@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.00:10% 50.00:50% -- Marc -- ___ Nagios-users mailing list Nagios-users@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-- ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] check_icmp/ping works but native ping fails
On Mar 25, 2009, at 3:22 PM, Richard Aseltine wrote: 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 Again, use the verbose flags for check_ping, then try the same ping command it uses (it varies by system). The only explanation I can give at this point is that the ping binary you used above isn't the one that check_ping is using or that some specific flag is needed on your network. You should be able to discover that, and what that flag does, through the process of elimination. It could also be some strange DNS resolver issue with the ping binary. Running truss or strace on ping may provide interesting information if those tools are familiar to you. This *really* isn't a nagios issue since the plugin is doing the right thing. If the above suggestions don't help you, you'll have better luck through the support forums for your OS. -- Marc -- ___ Nagios-users mailing list Nagios-users@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