libsnmp-base doesn't have the /usr/share/snmp/mibs directory and files

Bug #663636 reported by Ivan Quirino
This bug report is a duplicate of:  Bug #659376: mibs absent from maverick. Edit Remove
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
net-snmp (Ubuntu)
New
Undecided
Unassigned

Bug Description

The MIB information files are missing. /usr/share/snmp/mibs doesn't exist and the files that should be in this directory are missing. This problem is found on X86_64 Maverick, while on X86 Lucid the directory and files are there. These files include MIB information, which is required to snmpwalk and snmpget programs and others.

When running this command on X86_64 Maverick:
snmpwalk -v 2c -c <community> <host> memory

memory: Unknown Object Identifier (Sub-id not found: (top) -> memory)

Now running in X86 Lucid:
snmpwalk -v 2c -c <community> <host> memory

UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
UCD-SNMP-MIB::memErrorName.0 = STRING: swap
UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 2100816 kB
UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 2054320 kB
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 24946708 kB
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 2520100 kB
UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 4574420 kB
UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000 kB
UCD-SNMP-MIB::memShared.0 = INTEGER: 0 kB
UCD-SNMP-MIB::memBuffer.0 = INTEGER: 183364 kB
UCD-SNMP-MIB::memCached.0 = INTEGER: 19922032 kB
UCD-SNMP-MIB::memSwapError.0 = INTEGER: noError(0)
UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING:

Probably the missing files are causing this error.
This bug is related to bug #662578

Tags: snmp
Revision history for this message
Ove Størholt (ove-storholt) wrote :

I can confirm that it's probably just the MIB information files that are missing. I copied the folder /usr/share/snmp/mibs from a Lucid based server to Maverick and voila!

Took me forever to find out though... :-|

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.