LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   MRTG OID's and MIBS (https://www.linuxquestions.org/questions/linux-general-1/mrtg-oids-and-mibs-279813/)

RaelOM 01-19-2005 02:32 PM

MRTG OID's and MIBS
 
I'm having a logic process failure in my head at the moment and for the life of me can't figure out how MIB's and OID's work in relation to each other and more specifically, my main problem is:

How do I setup a MRTG config file specifying certain OID's.??

How do I know what (For example) : .1.3.6.1.4.1.2021.4.6.0 is in relation to what I would like to monitor.

I've scoured google, but don't find any explainations of how to read OID's visually or how they work in relation to MIBS.

Can anyone help?

Example: I want to monitor my / partition in RH3.0 AS, how would I go about finding out what the OID for that is, or is their a simplier way?

Rael

wimdh 01-21-2005 09:45 AM

To translate OIDs, you can use Cisco's free tool:
http://tools.cisco.com/Support/SNMP/...ID.do?local=en

Also, here you find some info about SNMP
http://www.net-snmp.org/tutorial/tut...nds/index.html

I suggest that you start reading :-)

A MIB is a collection of OIDs for a certain part.
You have the ifMIB, that keeps all OID's about the interfaces.
An OID id an ObjectIDentifier, it hold a value for a spicific item (Incoming bytes for an interface eth0)

You can install snmpd on your RH3 and so a snmpwalk -v2c -c community host

You'll see a lot of lines scrolling down your screen. Reading these can clear some thing out :-)


All times are GMT -5. The time now is 03:28 AM.