[smokeping-users] IPv6 address as target for EchoPingHttp not working
hahn at berkom.de
Mon May 2 14:33:36 CEST 2011
-----BEGIN PGP SIGNED MESSAGE-----
don't know if this is known limitation, but want to bring this to your attention.
I just discovered that one cannot use an IPv6 address as target for
EchoPingHttp. The plug-in gives a warning and the graph is empty:
smokeping: EchoPingHttp: WARNING: "/usr/bin/echoping -p 6 -t 1 -w 1 -6 -h
/ -A -a -R -n 5 2001:db8:x:x:x:x:x:x:80" exited with status 1 - output follows
smokeping: EchoPingHttp: getaddrinfo error for host: 2001 Address
family for hostname not supported
Problem is that the plugin automatically appends the port number to the IPv6
address. The result is a not valid IPv6 literal "2001:db8:x:x:x:x:x:x:80".
Embedding the IPv6 address in "" helps, as the resulting IPv6 literal with
port appended "[2001:db8:x:x:x:x:x:x]:80" works well with echoping in the shell.
Should be easy for an educated programmer to fix this.
Since this is fixed you should only use FQDN as targets for EchoPingHttp (I
would assume the same is true for EchoPingHttps).
31E4 283B 5EFD 920C 3DD4 CC3E EA43 16EC 75BC EB6D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the smokeping-users