[mrtg] Re: MIB Question
Alex van den Bogaerdt
alex at ergens.op.HET.NET
Wed Aug 21 22:02:04 MEST 2002
Darryl Kegg wrote:
>
> I have a number of Dell Win2K servers that I want to monitor w/ MRTG, I was
> able to find an MIB list on Dell's site but I am confused as to what to do
> with this file since I cannot seem to find any OID numbers listed in it.
An OID is the complete series of numbers.
Example: 1.3.6.1.2.1.2.2.1.10 is an OID.
Don't forget you also need an instance. This may be
any number; any meaning the device (not you) decides
what's valid.
In the file describing the interfaces, you can find the
entry for "ifInOctets".
It looks like this:
ifInOctets OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of octets received on the interface,
including framing characters.
Discontinuities in the value of this counter can occur
at re-initialization of the management system, and at
other times as indicated by the value of
ifCounterDiscontinuityTime."
::= { ifEntry 10 }
This (sort of) means "ifInOctets" equals "ifEntry.10"
Now lookup "ifEntry" to find "ifTable 1" so you
know "ifEntry" equals "ifTable.1" and therefore you also know
"ifInOctets" equals "ifTable.1.10".
Keep doing this untill you've reached the "root" of the MIB.
Most certainly you will end up at the top of the file where
is will say "IMPORTS".... followed by a label you have not
yet resolved. Open another file and continue translating.
Eventually you *will* reach the root. It has to work or else
the computer cannot parse it as well.
With your MIB files from Dell, you probably will end up with
a reference to "enterprises xyz" where xyz is the vendor number
for Dell. You can stop right there, this part of the OID will
be "1.3.6.1.4.1.xyz".
So, start at the bottom of the file, scan upwards untill you've
found an interesting label, write down the numbers from right
to left until you've reached "enterprises". Fill in the string
for enterprises and you're done. This will give you the OID to use.
> Pardon my ignorance but can anyone help?
This is the MRTG users list. For really good help on SNMP you
probably want to check other resources, such as a good book on
SNMP (plug: use a link on the faq site if you want to buy one)
or maybe one of the many web pages on SNMP. Knowledge on SNMP
is something you should already have, just as you already need
to know your OS, know how to operate your computer and so on.
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