Concepts / Monitoring

Monitoring

MIB and OID

Also called OID, object identifier, MIB, IF-MIB, ifTable, ifIndex, sysDescr

The tree of numbered names every SNMP value lives at, and the files that put words on the numbers.

An OID is a path down one tree
An OID is a path down one tree

Each number picks a branch; the last one picks the value or the table row. The agent sends only numbers: the names come from MIB files on the station.

An OID is the numbered path of one SNMP value in a tree shared by every vendor: .1.3.6.1.2.1.1.5.0 is SNMPv2-MIB::sysName.0. A MIB is a file on the station that gives each number its name and type; the agent sends only numbers. Tables such as IF-MIB's ifTable add an index to each column's OID: ifDescr.3 and ifHCInOctets.3 are both about interface 3.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab