[mrtg] Re: MRTG newbie number two :-)

Daniel J McDonald dmcdonald at digicontech.com
Thu Apr 5 18:34:26 MEST 2001


> What is a MIB?

A MIB is a database.
A mib file describes the organization of the database, which is a
hierarchical data set.
An OID is a pointer to a particular column in the database.  The row may
need to be specified as an instance.

So, if you were to implement an address book as a MIB, you would have
something like the following structure (mib description file):

AddressTable

AddressEntry = {AddressTable.1}
AddressStreet = {AddressEntry.1}
AddressCity={AddressEntry.2}
AddressState={AddressEntry.3}

If you were to "walk" the mib, you would get:

AddressTable.AddressEntry.AddressStreet.1 = "800 Brazos Suite 350"
AddressTable.AddressEntry.AddressStreet.2 = "1 Mackelm Drive"
AddressTable.AddressEntry.AddressStreet.3 = "1900 Pennsylvania Ave"
AddressTable.AddressEntry.AddressCity.1 = "Austin"
AddressTable.AddressEntry.AddressCity.2 = "Wilmore"
AddressTable.AddressEntry.AddressCity.3 = "Washington"
AddressTable.AddressEntry.AddressState.1 = "TX"
AddressTable.AddressEntry.AddressState.2 = "KY"
AddressTable.AddressEntry.AddressState.3 = "DC"

and so forth.  AddressStreet would be the short OID name, and
AddressStreet.1 would be an OID with an instance of 1 referring to a
specific street address.  .1 could be used as the instance on each of the
columns to put together the whole row.

Daniel J McDonald - CCIE 2495, CNX
Principal Network Specialist
Digicon Technologies
http://www.digicontech.com
dmcdonald at digicontech.com

Digicon - A Cisco Systems Partner, Silver Certified.




--
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