Loading MIB Definitions - Help me get out of SNMP Hell!

Bulger, Tim Tim_Bulger at polk.com
Thu Mar 10 13:59:14 CST 2011

I suggest grabbing the whole lot from
ftp://ftp.cisco.com/pub/mibs/v2/v2.tar.gz ... I generally extract that
to a directory and move files to my MIB directory individually.  This
has the benefit of preventing Net-SNMP from ripping through megabytes of
garbage related to x.25 and the like.  Your issue looks like it's
missing or not loading a dependency.

Try adding a -m ALL to your command line  to ensure that it's loading
all of the MIBs.

FWIW, I attached the list of the MIBs in my working directory, which
includes lots of Cisco, Netscreen, Microsoft, APC, Liebert/Emerson,
VMware, F5, etc.  It compiles without errors and resolves more than 90%
of the tree for most of my devices.

Good luck,

-----Original Message-----
From: Joe Renwick [mailto:joe at gonetforward.com] 
Sent: Thursday, March 10, 2011 1:38 PM
To: nanog at nanog.org
Subject: Loading MIB Definitions - Help me get out of SNMP Hell!

Hello All,

Apologize for my lameness in advance.  I have spent some serious time
researching this topic and have decided to reach out to the forums as
the two of the smartest people I know have hit the same wall in the
 Bottom line is I do not understand how to add (?compile?) MIB(s) into
my SNMP management system.  I use Cacti running on Ubuntu server and it
works great.  My only frustrations have been in the area of finding the
MIB OID(s) to use for gathering specific data.  In many cases with CIsco
I manage to find the OID name i.e.
'CISCO-PROCESS-MIB::cpmCPUTotal5min.9' but Cacti needs the numeric
value.  So I try 'snmpget' and here is what I see:

*jozo at crdtools:/var/www/cacti/rra$ snmpget -v 2c -c ptasa2etb
*MIB search path:
*Cannot find module (CISCO-MEMORY-POOL-MIB): At line 0 in (none)*
*CISCO-MEMORY-POOL-MIB::ciscoMemoryPoolFree: Unknown Object Identifier*

Did some research and using the following link I loaded the MIB(s)...
which basically consisted of a 'wget' of the MIB files into my
/home/jozo/.snmp directory.  At least I think they are the MIB
definition files with a '.my'


But I still cannot get the numeric OID values:

*jozo at crdtools:~$ snmptranslate -On
*No log handling enabled - turning on stderr logging* *Unexpected index
type: 7 cpmCPUTotalIndex 9*

Can anyone point me in the right direction.  Any links or advice on how
to operate SNMP on a Unix type system would be greatly appreciated.
Even a response like "RTMF Buddy" would be awesome if a manual was

Thanks to all who read this email.  You deserve a beer.


Joe Renwick
IP Network Consultant, CCIE #16465
Direct: 619-800-2055, Emergency Support: 800-719-0504 Is your network
moving you forward?
This message has originated from R. L. Polk & Co.,
26533 Evergreen Road Suite 900, Southfield, MI 48076.
R. L. Polk & Co. sends various types of email
communications.  If this email message concerns the
potential licensing of a Polk product or service, and
you do not wish to receive further emails regarding Polk
products, forward this email to Do_Not_Send at polk.com
with the word "remove" in the subject line.

The email and any files transmitted with it are confidential
and intended solely for the individual or entity to whom they
are addressed.

If you have received this email in error, please delete this
message and notify the Polk System Administrator at
postmaster at polk.com.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: miblist.txt
URL: <http://mailman.nanog.org/pipermail/nanog/attachments/20110310/6954b94d/attachment.txt>

More information about the NANOG mailing list