[mrtg] Re: MIBs and OIDs

Alex van den Bogaerdt alex at ergens.op.HET.NET
Wed Aug 28 00:15:06 MEST 2002


Gaurang Pandya wrote:

> What is difference between MIBs and OIDs.
> Whether we use MIBs or OIDs in mrtg and when should we
> use each of them. 

A MIB is a complete set of OIDs.

Object IDentifier  --> identifies one object
Management Information Base --> identifies all objects

Actually you should use both:

First use the MIB to find out what's available.
Then find out what particular object you want to query.
Then find out how to query it, what kind of object it is,
which *instance* you want to query and so on.

Now you leave the MIB (because you've found the OID) and
find out if your research matches.  Use a generic tool
(such as "snmpget", "snmpwalk", "snmputil.exe) to query
the device.  When you receive a number, then it's time to
start thinking about MRTG.

You know the OID, you know the instance.  If you know the
OID by numeric format, you can just use that (and the other
OID since you *need*to*use*two*and*no*other*amount).  If
you can't or don't like to use the OID in its numeric form,
you can use the text form but most likely you have to "teach"
MRTG how to use that text form.  This is where you need to
"load the MIB".

HTH
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list