prtgeneralserialnumber
HP-Color-LaserJet-4500-MIB ·
.1.3.6.1.4.1.11.2.3.9.4.2.2.5.1.1.17
Object
scalar optional
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.
Context
- MIB
- HP-Color-LaserJet-4500-MIB
- OID
.1.3.6.1.4.1.11.2.3.9.4.2.2.5.1.1.17- Type
- scalar
- Access
- readonly
- Status
- optional
- Parent
- prtGeneralEntry
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-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::prtgeneralserialnumber.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::prtgeneralserialnumber'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-10