Package: nagios-plugins
Version: 1.3.1.0-12
Severity: normal

If more than three labels are specified with '-u', check_snmp segfaults.
The command line specified in /etc/nagios-plugins/config/snmp_config for
check_compaq_thermalcondition demonstrates this bug.




The following command line illustrates the bug, if you have the printer
MIB installed:

/usr/lib/nagios/plugins/check_snmp -H my-printer -o 
prtInputName.1.1,prtInputCurrentLevel.1.1,prtInputName.1.2,prtInputCurrentLevel.1.2,prtInputName.1.3,prtInputCurrentLevel.1.3
 -w ,100:550,,100:550,,500:1500 -c ,50:550,,50:550,,200:1500 -u 
,sheets,,sheets,,sheets

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.29
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nagios-plugins depends on:
ii  bind9-host [host]        1:9.2.4-1       Version of 'host' bundled with BIN
ii  dnsutils                 1:9.2.4-1       Clients provided with BIND
ii  fping                    2.4b2-to-ipv6-8 sends ICMP ECHO_REQUEST packets to
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libldap2                 2.1.30-3        OpenLDAP libraries
ii  libmysqlclient12         4.0.23-1        mysql database client library
ii  libnet-snmp-perl         5.0.1-1         Script SNMP connections
ii  libpq3                   7.4.6-5         PostgreSQL C client library
ii  libssl0.9.7              0.9.7e-2        SSL shared libraries
ii  netkit-ping [ping]       0.10-10         The ping utility from netkit
ii  ntp                      1:4.2.0a-11     Network Time Protocol: network uti
ii  ntp-simple               1:4.2.0a-11     Network Time Protocol: daemon for 
ii  ntpdate                  1:4.2.0a-11     The ntpdate client for setting sys
ii  procps                   1:3.2.1-2       The /proc file system utilities
ii  qstat                    2.7-1           Command-line tool for querying qua
ii  radiusclient1            0.3.2-8         /bin/login replacement which uses 
ii  smbclient                3.0.10-1        a LanManager-like simple client fo
ii  snmp                     5.1.2-6.1       NET SNMP (Simple Network Managemen

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to