Unsolved

This post is more than 5 years old

18 Posts

12668

October 28th, 2005 20:00

Finding correct MIB/OID, How?

I am new to using MIB/OID and I'm trying to load MIBs RFC2233 to get to some NIC info. I am also interested in loading MIB's for my 5324 and 3024 switches as well as my 2850 server. I am using Opmanager.

Questions:

Is there some easy method for finding out what MIB/OID to load when wanting to add one? How do you know what OID is where? It seems the MIB names don't tell me anything about the contents of the MIB's and what OIDs may be in there. Is there a master list somewhere of OID's that point to the correct MIB and vice versa?

I am getting an error "SNMPv2-MIB" is missing when I try to load the RFC2233 MIB into the MIB browser from Opmanager. Did a search of my computer for that MIB and cannot find it. Why is it looking for that when I am trying to loaf RFC2233 MIB?

Just starting and confused already.

R

October 31st, 2005 18:00

Are you familiar with how SNMP works?  If not I suggest reading some book on the topic first.  "The simple book" is a good resource.  Also there are numerous online resources that might help.

Anyway, if you look at the top of an SNMP mib file you notice a number of "Imports" statement.  These statement pull in definition of objects from other MIBs.  This is similar to an "include" statement in C/C++ for example.  So you can't just load a single MIB such as 2233 by itself.  You have to load in all the dependent MIBs too.

You notice that the package of MIBs that come with a switch includes many files.  These are all the files you need to load to get the dependencies resolved.  Actually it is possible to look through the import statements and load only what's needed but its not that simple since each file you load may have other depencies requiring you to load other files which also have dependencies.  You can see how that goes.  It's easier just to load the entire set.

It might be best to get some familiarity with SNMP management first before getting too deep into this stuff.

Cuong.

No Events found!

Top