[Pkg-nagios-devel] Bug#669312: check_dig thinks that :: is not :0:

Marc Haber mh+debian-packages at zugschlus.de
Wed Apr 18 22:09:42 UTC 2012


Package: nagios-plugins-standard
Version: 1.4.15-5
Severity: normal
Tags: upstream

Hi,

check_dig does not handle IPv6 addresses with the intelligence that it
needs. For example:

/usr/lib/nagios/plugins/check_dig --hostname 127.0.0.1
--query_address=guanabara.rederio.br --record_type=AAAA
--expected_address=2001:12f0:4c2::222:19ff:febd:98c2 --verbose
/usr/bin/dig @127.0.0.1 -p 53 guanabara.rederio.br -t AAAA 
Looking for: '2001:12f0:4c2::222:19ff:febd:98c2'
;; ANSWER SECTION:
guanabara.rederio.br.   86400   IN      AAAA	2001:12f0:4c2:0:222:19ff:febd:98c2

;; AUTHORITY SECTION:
rederio.br.             86400   IN      NS      rio.rederio.br.
rederio.br.             86400   IN      NS      guanabara.rederio.br.

;; ADDITIONAL SECTION:
rio.rederio.br.         86400   IN      A       200.20.94.51
guanabara.rederio.br.   86400   IN      A       200.20.94.50

;; Query time: 510 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Apr 19 00:06:03 2012
;; MSG SIZE  rcvd: 130

DNS WARNING - 0.524 seconds response time (Server not found in ANSWER SECTION)|time=0.523813s;;;0.000000

note 19ff::febd on the command line (which is the output given, for
example, by the ruby Resolv library) and 19ff:0:febd in the output
given by dig.

This is an upstream bug. Does upstream have a tracker, or do I need to
report this to nagios-users?

Greetings
Marc

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.3.1-zgws1 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nagios-plugins-standard depends on:
ii  libc6                 2.13-27
ii  nagios-plugins-basic  1.4.15-5
ii  ucf                   3.0025+nmu3

Versions of packages nagios-plugins-standard recommends:
ii  bind9-host [host]    1:9.8.1.dfsg.P1-4
ii  dnsutils             1:9.8.1.dfsg.P1-4
ii  fping                2.4b2-to-ipv6-16.1
ii  host                 1:9.8.1.dfsg.P1-4
ii  libldap-2.4-2        2.4.28-1.2
ii  libmysqlclient16     5.1.61-3
ii  libnet-snmp-perl     <none>
ii  libpq5               9.1.3-2
ii  libradiusclient-ng2  <none>
ii  qstat                <none>
ii  smbclient            2:3.6.4-1
ii  snmp                 5.4.3~dfsg-2.4
ii  whois                5.0.15

Versions of packages nagios-plugins-standard suggests:
pn  exim4-daemon-light  4.77-1+b1
pn  nagios3             <none>

-- no debconf information





More information about the Pkg-nagios-devel mailing list