Your message dated Thu, 6 Jan 2011 15:05:46 +0100
with message-id <[email protected]>
and subject line closing bug
has caused the Debian Bug report #609011,
regarding nagios-plugins-standard: check_snmp fails to parse SNMP string 
properly
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
609011: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609011
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nagios-plugins-standard
Version: 1.4.15-3
Severity: normal


Since version 1.4.15-3, check_snmp fails to recognize/parse strings properply
that are transmitted via SNMP.

My scenario: In the SNMP server, I defined exec commands whose return values are
checked via check_snmp. Example (omitting SNMPv3 authentication arguments):

 /usr/lib/nagios/plugins/check_snmp -H HOST -o
 .1.3.6.1.4.1.2021.8.1.101.11 -c 0 -P 3 -v -r 'FILE_AGE OK'

/usr/bin/snmpget -t 1 -r 5 -m '' -v 3 [authpriv] HOST:161
 .1.3.6.1.4.1.2021.8.1.101.11
 iso.3.6.1.4.1.2021.8.1.101.11 = STRING: "FILE_AGE OK:
 /mnt/backuppc/mount/kontrast-main/latest is 67478 seconds old and 1024 bytes"
SNMP CRITICAL - *67478* | iso.3.6.1.4.1.2021.8.1.101.11=67478

Behind iso.3.6.1.4.1.2021.8.1.101.11, there is the check_file_age plugin.

check_snmp from nagios-plugins-* 1.4.15-2 does it correctly:

iso.3.6.1.4.1.2021.8.1.101.11 = STRING: "FILE_AGE OK:
/mnt/backuppc/mount/kontrast-main/latest is 67666 seconds old and 1024 bytes"
SNMP OK - "FILE_AGE OK: /mnt/backuppc/mount/kontrast-main/latest is 67666 
seconds
old and 1024 bytes" | 


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

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nagios-plugins-standard depends on:
ii  libc6                    2.11.2-7        Embedded GNU C Library: Shared lib
ii  libldap-2.4-2            2.4.23-7        OpenLDAP libraries
ii  libmysqlclient16         5.1.49-3        MySQL database client library
ii  libpq5                   8.4.5-0squeeze2 PostgreSQL C client library
ii  libradiusclient-ng2      0.5.6-1         Enhanced RADIUS client library
ii  nagios-plugins-basic     1.4.15-3        Plugins for the nagios network mon
ii  ucf                      3.0025+nmu1     Update Configuration File: preserv

Versions of packages nagios-plugins-standard recommends:
ii  bind9-host [host]     1:9.7.2.dfsg.P3-1  Version of 'host' bundled with BIN
ii  dnsutils              1:9.7.2.dfsg.P3-1  Clients provided with BIND
ii  fping                 2.4b2-to-ipv6-16.1 sends ICMP ECHO_REQUEST packets to
ii  host                  1:9.7.2.dfsg.P3-1  Transitional package
ii  libnet-snmp-perl      5.2.0-4            Script SNMP connections
ii  qstat                 2.11-3             Command-line tool for querying qua
ii  smbclient             2:3.5.6~dfsg-3     command-line SMB/CIFS clients for 
ii  snmp                  5.4.3~dfsg-1       SNMP (Simple Network Management Pr
ii  whois                 5.0.10             an intelligent whois client

Versions of packages nagios-plugins-standard suggests:
ii  nagios3                       3.2.1-2    A host/service/network monitoring 
ii  postfix                       2.7.1-1    High-performance mail transport ag

-- no debconf information



--- End Message ---
--- Begin Message ---
I'm closing this bug as Thomas provided the reason for it.
-- 
Never write mail to <[email protected]>, 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------

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply via email to