[Pkg-nagios-devel] Bug#629640: Bug#629640: check_ping: should fall back to IPv4 if IPv6 is not available
Jan Wagner
waja at cyconet.org
Sun Feb 19 12:18:21 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
tags 629640 +wontfix
thanks
Hi Chris,
thanks for taking time and reporting the issue.
Am 08.06.2011 12:45, schrieb Chris Butler:
> When neither the -4 nor -6 options are specified on the
> command-line, one would expect the check_ping plugin to try both
> (as most programs do). Instead, if it finds an AAAA record for the
> hostname given, it will *only* try IPv6, and fail if no IPv6
> connectivity is available.
>
> e.g. on a fully dual-stacked host:
>
> chrisb at cob:~$ /usr/lib/nagios/plugins/check_ping -H
> www.google.co.uk -w 3000.0,80% -c 5000.0,100% -p 1 PING OK - Packet
> loss = 0%, RTA = 19.56
> ms|rta=19.555000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0
>
> but on a machine with IPv4 only:
>
> chrisb at squeeze-vm:~$ /usr/lib/nagios/plugins/check_ping -H
> www.google.co.uk -w 3000.0,80% -c 5000.0,100% -p 1 CRITICAL -
> Network Unreachable (www.google.co.uk)
We discussed this already in #597068[1] and I don't see any other
reasons yet.
With kind regards, Jan.
[1] http://bugs.debian.org/597068
- --
Never write mail to <waja at spamfalle.info>, you have been warned!
- -----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d-- s+: a C+++ UL++++ P+ L+++ E--- W+++ N+++ o++ K++ w--- O M V-
PS PE Y++
PGP++ t-- 5 X R tv- b+ DI D+ G++ e++ h---- r+++ y++++
- ------END GEEK CODE BLOCK------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFPQOiN9u6Dud+QFyQRArO1AJ0SdOgU3d7YmOUeqxdUIZRlAg0eNwCfRTwb
gge8cPA+Y/YdMZRDNPjghpg=
=b56v
-----END PGP SIGNATURE-----
More information about the Pkg-nagios-devel
mailing list