hrdeviceindex

HP-Color-LaserJet-4500-MIB · .1.3.6.1.4.1.11.2.3.9.4.2.3.3.2.1.1

Object

scalar mandatory 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.
Refer to RFC 1514, Host Resources MIB, for more details.
  Additional information:
  The entry in the Device Table which
  describes the printer.

Context

MIB
HP-Color-LaserJet-4500-MIB
OID
.1.3.6.1.4.1.11.2.3.9.4.2.3.3.2.1.1
Type
scalar
Access
readonly
Status
mandatory
Parent
hrDeviceEntry

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HP-Color-LaserJet-4500-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-Color-LaserJet-4500-MIB::hrdeviceindex.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-Color-LaserJet-4500-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-Color-LaserJet-4500-MIB::hrdeviceindex'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 1-2147483647