Hi Jan,

On 07/11/2017 09:12 AM, Jan Wagner wrote:
> 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.

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".

Also there is no package providing /etc/nagios-plugins/config/ping.cfg.
Maybe you meant /usr/share/monitoring-plugins/templates-basic/ping.cfg ?
But not really relevant at all.

cheers,
Stefan

Reply via email to