[Pkg-net-snmp-devel] Bug#581007: libsnmp-base is missing most MIBs v5.4.1 had in /usr/share/snmp/mibs.

Virgil Gheorghiu virgilg at cs.uchicago.edu
Mon May 10 15:03:32 UTC 2010


Package: libsnmp-base
Version: 5.4.2.1~dfsg-5
Severity: grave
Justification: renders package unusable

Because the package is missing the MIBs, traps that worked perfectly
fine before are now not working. snmptrapd shows these errors at startup:

snmptrapd[14837]: Cannot find module (SNMPv2-TC): At line 15 in /usr/share/mibs/netsnmp/LM-SENSORS-MIB 
snmptrapd[14837]: Cannot find module (SNMPv2-SMI): At line 34 in /usr/share/mibs/netsnmp/UCD-SNMP-MIB 
snmptrapd[14837]: Cannot find module (SNMPv2-TC): At line 37 in /usr/share/mibs/netsnmp/UCD-SNMP-MIB 
snmptrapd[14837]: Did not find 'enterprises' in module #-1 (/usr/share/mibs/netsnmp/UCD-SNMP-MIB) 
snmptrapd[14837]: Did not find 'DisplayString' in module #-1 (/usr/share/mibs/netsnmp/UCD-SNMP-MIB) 
snmptrapd[14837]: Did not find 'TruthValue' in module #-1 (/usr/share/mibs/netsnmp/UCD-SNMP-MIB) 
snmptrapd[14837]: Unlinked OID in UCD-SNMP-MIB: ucdavis ::= { enterprises 2021 } 
snmptrapd[14837]: Undefined identifier: enterprises near line 39 of /usr/share/mibs/netsnmp/UCD-SNMP-MIB 
snmptrapd[14837]: Did not find 'DisplayString' in module #-1 (/usr/share/mibs/netsnmp/LM-SENSORS-MIB) 
snmptrapd[14837]: Did not find 'ucdExperimental' in module UCD-SNMP-MIB
(/usr/share/mibs/netsnmp/LM-SENSORS-MIB) 
snmptrapd[14837]: Unlinked OID in LM-SENSORS-MIB: lmSensors ::= { ucdExperimental 16 } 
snmptrapd[14837]: Undefined identifier: ucdExperimental near line 32 of /usr/share/mibs/netsnmp/LM-SENSORS-MIB 
snmptrapd[14837]: /etc/snmp/snmptrapd.conf: line 25: Error: Bad trap OID in traphandle directive:
LM-SENSORS-MIB::lmTempSensorsDevice 
snmptrapd[14837]: Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none) 
snmptrapd[14837]: /etc/snmp/snmptrapd.conf: line 28: Error: Bad trap OID in traphandle directive:
DISMAN-EVENT-MIB::mteTriggerFired


Workaround: installing the MIBs from the old v5.4.1 package into
/usr/share/snmp/mibs makes this 5.4.2.1~dfsg-5 happier.

$ net-snmp-config --configure-options
...
'--with-mibdirs=/root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp'
...

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

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

-- no debconf information





More information about the Pkg-net-snmp-devel mailing list