Skip to Content
ManagerMIB Support

MIB Support

MIB support is planned for v1.4.0. This page describes the planned API.

Work with MIBs for human-readable OID names.

Overview

MIBs (Management Information Bases) define the structure and meaning of SNMP data. Instead of numeric OIDs like 1.3.6.1.2.1.1.1.0, you can use symbolic names like SNMPv2-MIB::sysDescr.0.

MIB support is coming in v1.4.0 and will include:

  • Name resolution — Translate symbolic OID names to numeric and vice versa
  • Built-in standard MIBs — SNMPv2-MIB, IF-MIB, IP-MIB, TCP-MIB, UDP-MIB, HOST-RESOURCES-MIB
  • Custom MIB loading — Load vendor MIBs from files
  • Value formatting — Display enumerations, MAC addresses, timeticks in human-readable format

Current Workaround

Until MIB support is available, use numeric OIDs directly. Here are the most common ones:

System MIB (SNMPv2-MIB)

NameOID
sysDescr1.3.6.1.2.1.1.1.0
sysObjectID1.3.6.1.2.1.1.2.0
sysUpTime1.3.6.1.2.1.1.3.0
sysContact1.3.6.1.2.1.1.4.0
sysName1.3.6.1.2.1.1.5.0
sysLocation1.3.6.1.2.1.1.6.0

Interface MIB (IF-MIB)

NameOID (table entry)
ifIndex1.3.6.1.2.1.2.2.1.1
ifDescr1.3.6.1.2.1.2.2.1.2
ifType1.3.6.1.2.1.2.2.1.3
ifMtu1.3.6.1.2.1.2.2.1.4
ifSpeed1.3.6.1.2.1.2.2.1.5
ifPhysAddress1.3.6.1.2.1.2.2.1.6
ifAdminStatus1.3.6.1.2.1.2.2.1.7
ifOperStatus1.3.6.1.2.1.2.2.1.8
ifInOctets1.3.6.1.2.1.2.2.1.10
ifOutOctets1.3.6.1.2.1.2.2.1.16

64-bit Counters (IF-MIB::ifXTable)

NameOID (table entry)
ifName1.3.6.1.2.1.31.1.1.1.1
ifHCInOctets1.3.6.1.2.1.31.1.1.1.6
ifHCOutOctets1.3.6.1.2.1.31.1.1.1.10
ifHighSpeed1.3.6.1.2.1.31.1.1.1.15
ifAlias1.3.6.1.2.1.31.1.1.1.18

Next Steps

Last updated on