prtgeneralserialnumber

HP-LASERJET-COMMON-MIB · .1.3.6.1.4.1.11.2.3.9.4.2.2.5.1.1.17

Object

scalar mandatory OctetString
A recorded serial number for this device that indexes some type 
device catalog or inventory. This value is usually set by the
device manufacturer but the MIB supports the option of 
writeability for this object for site-specific administration of
device inventory or tracking.
Refer to Standard Printer MIB for more details.

Context

MIB
HP-LASERJET-COMMON-MIB
OID
.1.3.6.1.4.1.11.2.3.9.4.2.2.5.1.1.17
Type
scalar
Access
readonly
Status
mandatory
Parent
prtGeneralEntry

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::prtgeneralserialnumber.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::prtgeneralserialnumber'

Syntax

OctetString

Values & Constraints

Enumerated Values
3ePtenThousandthsOfInches
4ePmicrometers
8ePsheets
16ePfeet
17ePmeters