hrDeviceIndex

OBS ✓
HOST-RESOURCES-MIB · .1.3.6.1.2.1.25.3.2.1.1

Object

column Integer32
A unique value for each device contained by the host.
The value for each device must remain constant at
least from one re-initialization of the agent to the
next re-initialization.
Observium directly uses this object
This object is referenced by an Observium discovery or polling workflow.
Used in: Inventory
Explore Observium network monitoring

Context

MIB
HOST-RESOURCES-MIB
OID
.1.3.6.1.2.1.25.3.2.1.1
Type
column
Access
readonly
Status
current
Parent
hrDeviceEntry
Groups
1

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HOST-RESOURCES-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HOST-RESOURCES-MIB::hrDeviceIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HOST-RESOURCES-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HOST-RESOURCES-MIB::hrDeviceIndex.<hrDeviceIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HOST-RESOURCES-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HOST-RESOURCES-MIB::hrDeviceIndex'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 1-2147483647

Conformance

Member of