hrdeviceerrors

HP-LASERJET-COMMON-MIB · .1.3.6.1.4.1.11.2.3.9.4.2.3.3.2.1.6

Object

scalar mandatory Integer32
The number of errors detected on this device.  It
should be noted that as this object has a SYNTAX
of Counter, that it does not have a defined
initial value.  However, it is recommended that
this object be initialized to zero.
Refer to RFC 1514, Host Resources MIB, for more details.
 Additional information (mass storage):
 Total number of read and write errors
 that have occurred since the printer was turned on.
 Returns <noSuchName> status if
 attempting to perform a Get on this OID with no mass storage device
 installed.  Returns 0 if the mass storage device is
 	   uninitialized.

Context

MIB
HP-LASERJET-COMMON-MIB
OID
.1.3.6.1.4.1.11.2.3.9.4.2.3.3.2.1.6
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-LASERJET-COMMON-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-LASERJET-COMMON-MIB::hrdeviceerrors.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::hrdeviceerrors'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Enumerated Values
1eHreadWrite
2eHreadOnly
Type Constraints
range: -2147483648..2147483647