snmp tools fail to translate OIDs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
net-snmp (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
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-
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
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-
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.
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 <email address hidden>"
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.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
"
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
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
ProcVersionSign
Uname: Linux 2.6.35-
NonfreeKernelMo
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
Tried on 10.10, indeed the mibs are not resolved.
Marking Confirmed. Setting Importance to Medium.