serial-number

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

Object

scalar optional OctetString
Identifies the serial number for the device.  If the
SERIAL-NUMBER object is set by the user, then setting
the object does not need to be protected.  If the
SERIAL-NUMBER object is set at the factory, then the
SERVICE-PASSWORD object must be set correctly before the
SERIAL-NUMBER object is writable.  If this is a writable
object, the POS should indicate the maximum supported
string length.  If possible, encode the serial number in
a symbol set (like Roman-8) that matches the ASCII
character set and limit the characters used to ASCII
characters.
Additional information:
This value IS AFFECTED BY NVRAM resets,   
it is set to the 
default value of XXXXXXXXXX, when a NVRAM init is done.

Context

MIB
HP-Color-LaserJet-4500-MIB
OID
.1.3.6.1.4.1.11.2.3.9.4.2.1.1.3.3
Type
scalar
Access
readonly
Status
optional
Parent
id

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::serial-number.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::serial-number'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-10