[Pkg-nagios-devel] Bug#863981: check_ping uses IPv6 with -4

Jan Wagner waja at cyconet.org
Tue Jul 11 07:12:58 UTC 2017

Hi Stefan,

thanks for bringing this to our attention.

Am 02.06.2017 um 18:39 schrieb Stefan Bühler:
> check_ping doesn't forward the "-4" option to ping, and ping prefers
> IPv6 now (i.e. probably whatever is configured through gai.ping).
> Giving upstream only allows configuring "ping-command" and
> "ping6-command" (there is no explicit "ping4-command") I suggest adding
> "-4" to the "ping-command" in debian/rules in the meantime.

I guess you have checked /etc/nagios-plugins/config/ping.cfg? There are
explicit commands ending on "_4" which are using "-4" in its command and
so forcing IPv4 tests.

With kind regards, Jan.
Never write mail to <waja at spamfalle.info>, you have been warned!
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++++

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20170711/c040eeea/attachment.sig>

More information about the Pkg-nagios-devel mailing list