[Pkg-net-snmp-devel] Bug#561578: Bug#561578: system: Unknown Object Identifier (Sub-id not found: (top) -> system)

Bruno Condez condez at gmail.com
Fri Dec 18 14:56:45 UTC 2009

Hi Jochen,

I've run the commands you provided and have the packet installed and the mibs downloaded automatically.

(PS: i had to manually install packet "smistrip" which is required by the "/usr/bin/download-mibs" script)

Now, if i run:

snmpwalk -v 2c -c public system
system: Unknown Object Identifier (Sub-id not found: (top) -> system)

Basically i get the same error.

If i add flag "-m ALL", it works but prints some error at the beginning:

snmpwalk -m ALL -v 2c -c public system
Bad operator (INTEGER): At line 73 in /usr/share/mibs/ietf/SNMPv2-PDU          
Undefined OBJECT-GROUP (diffServMIBMultiFieldClfrGroup): At line 2195 in /usr/share/mibs/ietf/IPSEC-SPD-MIB
Undefined OBJECT-GROUP (diffServMultiFieldClfrNextFree): At line 2157 in /usr/share/mibs/ietf/IPSEC-SPD-MIB
Undefined OBJECT-GROUP (diffServMIBMultiFieldClfrGroup): At line 2062 in /usr/share/mibs/ietf/IPSEC-SPD-MIB
Unlinked OID in IPATM-IPMC-MIB: marsMIB ::= { mib-2 57 }
Undefined identifier: mib-2 near line 18 of /usr/share/mibs/ietf/IPATM-IPMC-MIB
Expected "::=" (RFC5644): At line 493 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Expected "{" (EOF): At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Bad object identifier: At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Bad parse of OBJECT-IDENTITY: At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
RFC1213-MIB::sysDescr.0 = STRING: "Linux daedalus 2.6.31-1-686 #1 SMP Sun Nov 15 20:39:33 UTC 2009 i686"
RFC1213-MIB::sysObjectID.0 = OID: NET-SNMP-TC::linux
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (15958) 0:02:39.58
RFC1213-MIB::sysContact.0 = STRING: "Root <root at localhost> (configure /etc/snmp/snmpd.local.conf)"
RFC1213-MIB::sysName.0 = STRING: "daedalus"
RFC1213-MIB::sysLocation.0 = STRING: "Unknown (configure /etc/snmp/snmpd.local.conf)"
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (4) 0:00:00.04
SNMPv2-MIB::sysORID.1 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.2 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.4 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.6 = OID: RFC1213-MIB::ip
SNMPv2-MIB::sysORDescr.1 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.3 = STRING: The management information definitions for the SNMP User-based Security Model.
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB::sysORDescr.6 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB::sysORDescr.7 = STRING: The MIB module for managing UDP implementations
SNMPv2-MIB::sysORDescr.8 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (3) 0:00:00.03
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (3) 0:00:00.03
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (3) 0:00:00.03
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (4) 0:00:00.04
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (4) 0:00:00.04
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (4) 0:00:00.04
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (4) 0:00:00.04
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (4) 0:00:00.04

My two questions, are:

1) Why do i need to add "-m ALL" for snmpwalk to work? This flag wasn't needed before.

2) Where are those errors coming from?

Bruno Condez

On Fri 18 Dec 2009 12:42:00 Jochen Friedrich wrote:
> Hi Bruno,
> > I can't see "mib-snmp-downloader" on the ftp archive.
> > 
> > Do you have a proposed data for when that package will become available?
> > Or, is there an unofficial version of that package i can use to get the MIB's?
> The package is at http://git.debian.org/?p=collab-maint/snmp-mibs-downloader.git
> You need git to download it:
> cd /tmp
> git clone git://git.debian.org/collab-maint/snmp-mibs-downloader.git
> cd snmp-mibs-downloader
> dpkg-buildpackage -us -uc
> debi
> Feel free to test, comment, patch etc.
> One change that is planned but not yet committed is that I plan to ship a tar.gz with the RFCs 
> needed to create a basic MIB tree. mib-snmp-downloader will then move from contrib to non-free.
> Downloading the updated IANA MIBs or any additional vendor MIBs will be optional and nothing will 
> be downloaded during configure.
> Thanks,
> Jochen

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