[mrtg] Re: OIDs and Traps?
afroeland at dansystem.dk
afroeland at dansystem.dk
Tue Mar 28 18:00:40 MEST 2000
Hi
Think of SNMP as a Client Server implementation.
The MIB in the device is a sort of a database, you can query information
from the MIB by
issuing SNMP Get and GetNext, or store information using Set.
MRTG uses SNMP Get to gather information from you device.
SNMP uses a dod format i.e. .1.3.6.1.2.1.2.
By applying the MIB file to you SNMP browser or SNMP tool you can use
OID?s instead i.e. .1.3.6.1.2.1.2. are translated into
.iso.org.dod.internet.mgmt.mib-2.interfaces
One MIB Browser I can recommend is getif from
http://www.wtcs.org/Snmp4tpc/testing.htm#GETIF, this page also have
reference to MIB?s and other SNMP related stuff.
You should also take a look at
http://www.sce.carleton.ca/netmanage/snmp/cisco-intro.html
Traps is a special feature of SNMP version 2, instead of querying
information all the time, traps are send FROM the device to the manager if
the event that triggers the trap are happening. Some trap (i.e.in RMON) you
can even program using SNMP SET. MRTG are not using traps.
I hope this will get you started :-)
Regards
Andreas Froeland
E-mail: Afroeland at dansystem.dk
--
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
More information about the mrtg
mailing list