ping hanging.

Hugo van der Kooij hvdkooij at vanderkooij.org
Sat Jan 7 11:11:55 CET 2006


On Sat, 7 Jan 2006, Hammond, Robin-David%KB3IEN wrote:

> In order to try to diagnose the nagios problem whereby it enteres the
> wait state indefinitely, i added some debugging code to commands.c, and
> rebuilt nagios 2.0rc1. I am now getting a very strange error
>
> /Warning: Attempting to execute the command "/check_ping -H 4400::34 -w
> 3000.0,80% -c 5000.0,100% -p 1 -t 10 -6" resulted in a return code of 127.
> Make sure the script or binary you are trying to execute actually
> exists...

If check_ping calls the normal ping utility you will need to rewrite it
for IPv6. Your normal ping will not handle IPv6 addresses. That will be
the job of ping6 on most systems.

And 4400:34 may be valid syntax for a IPv6 address. But to the best of my
knowledge it is not a valid IPv6 address. Valid ranges will be 2000::
untill 3fff:: for public addreses and fe80:: and upwards for link-local
addresses.

And check_host does work on IPv6 addresses as I have several IPv6 only
systems in my setup which I can contact just fine.

A manual test here:

./check_ping -H 2001:888:10fa:1 -w 100,20% -c 500,50%
check_ping: Invalid hostname/address - 2001:888:10fa:1

Hugo.

-- 
	I hate duplicates. Just reply to the relevant mailinglist.
	hvdkooij at vanderkooij.org		http://hvdkooij.xs4all.nl/
		Don't meddle in the affairs of magicians,
		for they are subtle and quick to anger.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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