[Pkg-nagios-devel] Bug#863981: check_ping uses IPv6 with -4
Stefan Bühler
source at stbuehler.de
Tue Jul 11 12:11:54 UTC 2017
Hi Jan,
On 07/11/2017 12:29 PM, Jan Wagner wrote:
> Dear Stefan,
>
> Am 11.07.17 um 11:07 schrieb Stefan Bühler:
>> You didn't get the issue. I know very well how to call check_ping with
>> -4 - I can do that with my local config. But check_ping -4 DOES NOT
>> call "ping -4" - it just calls "ping". The -4 option does *NOTHING*. It
>> basically is the same as not passing "-6".
>
> just adding "-4" to the "ping-command" in debian/rules will solve this
> problem but cause others.
>
> <- snip ->
> Depends: inetutils-ping (>= 2:1.9-1~) [kfreebsd-any hurd-any],
> iputils-ping [linux-any],
> <- snap ->
>
> inetutils-ping and older iputils-ping (when backporting) doesn't support
> "ping -4". So this is something that has to be discovered at buildtime I
> think.
That is a problem of course.
Maybe adding a separate "ping4-command" compile time string is an option.
cheers,
Stefan
More information about the Pkg-nagios-devel
mailing list