SNMP Enum Decoder

Resolve common integer status values from IF-MIB and HOST-RESOURCES-MIB. Enter an object name such as ifOperStatus and the integer returned by an SNMP GET or walk. The decoder displays the standard label when the object and value are in its built-in reference. An integer by itself is ambiguous because each MIB object can define its own enumeration.

Integer and enumeration

Decode SNMP enum values

Translate common integer values from IF-MIB interface status and HOST-RESOURCES-MIB device status into readable states.

ifOperStatus(7)

lowerLayerDown

a lower-layer interface is down

An INTEGER label is defined by a MIB. Vendor-specific enumerations need the matching vendor MIB. A raw number without its object name may have a different meaning.

Common SNMP status enumerations

IF-MIB defines ifAdminStatus for the configured state of an interface and ifOperStatus for its current operational state. Values include up, down, testing, unknown, dormant, notPresent, and lowerLayerDown. Comparing the two can help identify an administratively disabled port versus a link that failed below it.

HOST-RESOURCES-MIB defines hrDeviceStatus with states such as running, warning, testing, down, and notPresent. These labels are defined by the MIB syntax. The agent returns an integer, and a MIB-aware tool uses the object definition to render its symbolic name.

Why object context matters

The value 2 does not universally mean down. It means the second enumeration for a particular object. For ifAdminStatus, 2 is down. For another object, the second value could have an entirely different meaning. Always include the object name or OID when decoding a raw integer, and check the MIB used by the device.

Vendor MIBs define additional states for fans, power supplies, disks, and other hardware. Their values may resemble standard enums but must be interpreted according to the vendor's MIB. If a value is not listed, search the relevant MIB definition or use the OID lookup tool to identify the object before interpreting it.

Frequently asked questions

What does ifOperStatus 7 mean?

In IF-MIB, 7 is lowerLayerDown, indicating that an interface is down because a lower-layer interface is down.

Is integer 2 always the down state?

No. Enumerated values are specific to an object's MIB definition.

Can this decode vendor-specific values?

The built-in list includes selected standard objects. Vendor-specific enumerations require that vendor's MIB file.

Conclusion

Use both the OID and integer value to resolve an enumeration safely. For context from a full response, paste the output into the SNMP walk decoder and consult the interface status OID guide.

Monitor it from outside the network

SNMP only tells you a box is healthy while something is still asking. ostr.io polls your endpoints externally and fires email + SMS alerts the moment a reading crosses your line — or the agent goes silent.