[Bug 690638] [NEW] snmp tools fail to translate OIDs
Arkaitz Jimenez
690638 at bugs.launchpad.net
Wed Dec 15 13:25:57 GMT 2010
Public bug reported:
I have tested this on a freshly installed Ubuntu 10.10. I only did "apt-get install snmp snmpd"
Looks like there are missing MIBs that are referenced by existing MIBs but I can't find them in any Ubuntu package.
I had to manually copy SNMPv2-SMI SNMPv2-TC and INET-ADDRESS-MIB which are referenced by:
~$ egrep -l "INET-ADDRESS-MIB|SNMPv2-TC|SNMPv2-SMI" /usr/share/mibs/netsnmp/*
/usr/share/mibs/netsnmp/GNOME-SMI
/usr/share/mibs/netsnmp/INET-ADDRESS-MIB
/usr/share/mibs/netsnmp/LM-SENSORS-MIB
/usr/share/mibs/netsnmp/NET-SNMP-AGENT-MIB
/usr/share/mibs/netsnmp/NET-SNMP-EXAMPLES-MIB
/usr/share/mibs/netsnmp/NET-SNMP-EXTEND-MIB
/usr/share/mibs/netsnmp/NET-SNMP-MIB
/usr/share/mibs/netsnmp/NET-SNMP-MONITOR-MIB
/usr/share/mibs/netsnmp/NET-SNMP-PASS-MIB
/usr/share/mibs/netsnmp/NET-SNMP-SYSTEM-MIB
/usr/share/mibs/netsnmp/NET-SNMP-TC
/usr/share/mibs/netsnmp/NET-SNMP-VACM-MIB
/usr/share/mibs/netsnmp/SNMP-FRAMEWORK-MIB
/usr/share/mibs/netsnmp/SNMPv2-SMI
/usr/share/mibs/netsnmp/SNMPv2-TC
/usr/share/mibs/netsnmp/UCD-DEMO-MIB
/usr/share/mibs/netsnmp/UCD-DISKIO-MIB
/usr/share/mibs/netsnmp/UCD-DLMOD-MIB
/usr/share/mibs/netsnmp/UCD-IPFWACC-MIB
/usr/share/mibs/netsnmp/UCD-SNMP-MIB
Now, although this might not be a problem I thought it was relevant.
The real problem is that snmp is not able to resolve even the basic system oids, checking with snmpwalk:
~$ snmpwalk -c public -v 2c Cobain
iso.3.6.1.2.1.1.1.0 = STRING: "Linux Cobain 2.6.35-23-generic-pae #41-Ubuntu SMP Wed Nov 24 10:35:46 UTC 2010 i686"
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.8072.3.2.10
iso.3.6.1.2.1.1.3.0 = Timeticks: (394598) 1:05:45.98
iso.3.6.1.2.1.1.4.0 = STRING: "Me <me at example.org>"
iso.3.6.1.2.1.1.5.0 = STRING: "Cobain"
iso.3.6.1.2.1.1.6.0 = STRING: "Sitting on the Dock of the Bay"
iso.3.6.1.2.1.1.7.0 = INTEGER: 72
iso.3.6.1.2.1.1.8.0 = Timeticks: (5) 0:00:00.05
iso.3.6.1.2.1.1.9.1.2.1 = OID: iso.3.6.1.6.3.10.3.1.1
iso.3.6.1.2.1.1.9.1.2.2 = OID: iso.3.6.1.6.3.11.3.1.1
iso.3.6.1.2.1.1.9.1.2.3 = OID: iso.3.6.1.6.3.15.2.1.1
iso.3.6.1.2.1.1.9.1.2.4 = OID: iso.3.6.1.6.3.1
iso.3.6.1.2.1.1.9.1.2.5 = OID: iso.3.6.1.2.1.49
iso.3.6.1.2.1.1.9.1.2.6 = OID: iso.3.6.1.2.1.4
iso.3.6.1.2.1.1.9.1.2.7 = OID: iso.3.6.1.2.1.50
iso.3.6.1.2.1.1.9.1.2.8 = OID: iso.3.6.1.6.3.16.2.2.1
iso.3.6.1.2.1.1.9.1.3.1 = STRING: "The SNMP Management Architecture MIB."
iso.3.6.1.2.1.1.9.1.3.2 = STRING: "The MIB for Message Processing and Dispatching."
iso.3.6.1.2.1.1.9.1.3.3 = STRING: "The management information definitions for the SNMP User-based Security Model."
iso.3.6.1.2.1.1.9.1.3.4 = STRING: "The MIB module for SNMPv2 entities"
iso.3.6.1.2.1.1.9.1.3.5 = STRING: "The MIB module for managing TCP implementations"
iso.3.6.1.2.1.1.9.1.3.6 = STRING: "The MIB module for managing IP and ICMP implementations"
iso.3.6.1.2.1.1.9.1.3.7 = STRING: "The MIB module for managing UDP implementations"
iso.3.6.1.2.1.1.9.1.3.8 = STRING: "View-based Access Control Model for SNMP."
iso.3.6.1.2.1.1.9.1.4.1 = Timeticks: (5) 0:00:00.05
iso.3.6.1.2.1.1.9.1.4.2 = Timeticks: (5) 0:00:00.05
iso.3.6.1.2.1.1.9.1.4.3 = Timeticks: (5) 0:00:00.05
iso.3.6.1.2.1.1.9.1.4.4 = Timeticks: (5) 0:00:00.05
iso.3.6.1.2.1.1.9.1.4.5 = Timeticks: (5) 0:00:00.05
iso.3.6.1.2.1.1.9.1.4.6 = Timeticks: (5) 0:00:00.05
iso.3.6.1.2.1.1.9.1.4.7 = Timeticks: (5) 0:00:00.05
iso.3.6.1.2.1.1.9.1.4.8 = Timeticks: (5) 0:00:00.05
iso.3.6.1.2.1.25.1.1.0 = Timeticks: (15274755) 1 day, 18:25:47.55
iso.3.6.1.2.1.25.1.2.0 = Hex-STRING: 07 DA 0C 0F 0D 17 37 00 2B 00 00
iso.3.6.1.2.1.25.1.3.0 = INTEGER: 1536
iso.3.6.1.2.1.25.1.4.0 = STRING: "BOOT_IMAGE=/boot/vmlinuz-2.6.35-23-generic-pae root=UUID=cec1a5a0-fc57-4e68-b2b2-41b9b2037e32 ro quiet splash
"
iso.3.6.1.2.1.25.1.5.0 = Gauge32: 5
iso.3.6.1.2.1.25.1.6.0 = Gauge32: 238
iso.3.6.1.2.1.25.1.7.0 = INTEGER: 0
iso.3.6.1.2.1.25.1.7.0 = No more variables left in this MIB View (It is past the end of the MIB tree)
No OID has been resolved, even the snmptranslate examples from the snmptranslate manpage don't work for me.
I've tried the same in a freshly installed Debian system under the same circumstances and the oids were resolved to MIB and attribute names.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: snmp 5.4.3~dfsg-1ubuntu3
ProcVersionSignature: Ubuntu 2.6.35-23.41-generic-pae 2.6.35.7
Uname: Linux 2.6.35-23-generic-pae i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Wed Dec 15 13:12:59 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_IE.utf8
SourcePackage: net-snmp
** Affects: net-snmp (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 maverick
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to net-snmp in ubuntu.
https://bugs.launchpad.net/bugs/690638
Title:
snmp tools fail to translate OIDs
More information about the Ubuntu-server-bugs
mailing list