[Pkg-nagios-devel] Bug#863981: check_ping uses IPv6 with -4
Jan Wagner
waja at cyconet.org
Tue Jul 11 10:29:32 UTC 2017
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.
> 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.
Indeed, but ping.cfg is copied by ucf via maintainers script to
/etc/nagios-plugins/config/.
Cheers, Jan.
--
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------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20170711/7cb4c28e/attachment.sig>
More information about the Pkg-nagios-devel
mailing list