All MIBs › HOST-RESOURCES-V2-MIB › hrDeviceIndex
hrDeviceIndex
Module: HOST-RESOURCES-V2-MIB
OID (symbolic): HOST-RESOURCES-V2-MIB::hrDeviceIndex
OID (numeric): 1.3.6.1.2.1.25.3.2.1.1
Node type: OBJECT-TYPE
Type: Integer32
Access: read-only
Description: 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.
What is hrDeviceIndex?
This read-only integer uniquely identifies one row of the device table, i.e. one hardware device recognized by the host (processor, disk, network interface, printer, etc). It stays constant across agent restarts and is the index used to look up a device's type, description, and status.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.25.3.2.1.1 snmpwalk -v2c -c public <target> HOST-RESOURCES-V2-MIB::hrDeviceIndex
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.25.3.2.1.1.1 snmpget -v2c -c public <target> HOST-RESOURCES-V2-MIB::hrDeviceIndex.1
Start monitoring Vendor-neutral IETF standard (Host Resources extension) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HOST-RESOURCES-V2-MIB::hrDeviceIndex OID value, configure state conditions and alerts, and monitor any Vendor-neutral IETF standard (Host Resources extension) from a single console.
OID Breakdown
Upper-level ancestors (10 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| 1.3.6.1.2.1.25 | host | HOST-RESOURCES-MIB |
| 1.3.6.1.2.1.25.3 | hrDevice | HOST-RESOURCES-MIB |
| 1.3.6.1.2.1.25.3.2 | hrDeviceTable | HOST-RESOURCES-MIB |
| 1.3.6.1.2.1.25.3.2.1 | hrDeviceEntry | HOST-RESOURCES-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.25.3.2.1.1 | hrDeviceIndex | HOST-RESOURCES-V2-MIB |