prtstoragerefindex
HP-LASERJET-COMMON-MIB ·
.1.3.6.1.4.1.11.2.3.9.4.2.2.5.2.1.2
Object
scalar mandatory
Integer32
The value of the hrDeviceIndex of the printer device that this
storageEntry is associated with.
Refer to Standard Printer MIB for more details.
Additional information (mass storage):
Constant. The index value indicates
the hrStorageTable index for this storage device.
The value indicates the hrDeviceTable index for the
printer which uses this storage device. Returns
<noSuchName> status if attempting
to perform a Get on this OID with no storage device
is installed.
Context
- MIB
- HP-LASERJET-COMMON-MIB
- OID
.1.3.6.1.4.1.11.2.3.9.4.2.2.5.2.1.2- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- prtStorageRefEntry
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HP-LASERJET-COMMON-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-LASERJET-COMMON-MIB::prtstoragerefindex.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-LASERJET-COMMON-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-LASERJET-COMMON-MIB::prtstoragerefindex'
Syntax
Integer32
Values & Constraints
No enumerated values or constraints recorded.