[mrtg] Re: MIBs and OIDs
Jerry Heidtke
jheidtke at fmlh.edu
Tue Aug 27 22:57:35 MEST 2002
A MIB is made up of a collection of objects that can be identified by either
name or number. I think the name is what you are referring to as MIB, while
the number is what you are referring to as OID. Actually, both the name and
number are properly called OIDs.
For example, the following two are equivalent OIDs:
.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifInOctets
.1.3.6.1.2.1.2.2.1.10
The last "word" in an OID name is supposed to be unique across the entire
MIB name space. That is what makes it possible to refer to ifInOctets as a
kind of shortcut for
.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifInOctets. Not
all vendors have followed this rule...
MRTG has built-in support for a limited number of MIB names. Some of these
are listed at http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mibhelp.html.
The complete list can be found within SNMP_util.pm, one of the MRTG
libraries.
MRTG can support additional MIB names through the use of the LoadMIBs:
global option. See
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html for details.
Using object names may make your config files easier to read, at some cost
in performance. I always use the explicit OID number, then put a comment in
the config file explaining what it is if it is not obvious.
Jerry
-----Original Message-----
From: Gaurang Pandya [mailto:gaubrig at yahoo.com]
Sent: Tuesday, August 27, 2002 3:21 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] MIBs and OIDs
Hi,
Can any one answer my basic answer...I am confused a
bit.. :-(
What is difference between MIBs and OIDs.
Whether we use MIBs or OIDs in mrtg and when should we
use each of them.
Hope you can figureout my level of confusion from my
question and show me right path. And link or pdf will
be good enough.
Thanks.
Gaurang.
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
--
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
Confidentiality Notice: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
--
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