prtGeneralSerialNumber

PRINTER-MIB · .1.3.6.1.2.1.43.5.1.1.17

Object

column r/w 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
writing for this object for site-specific administration of
device inventory or tracking.

Context

MIB
PRINTER-MIB
OID
.1.3.6.1.2.1.43.5.1.1.17
Type
column
Access
readwrite
Status
current
Parent
prtGeneralEntry

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'PRINTER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PRINTER-MIB::prtGeneralSerialNumber'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PRINTER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PRINTER-MIB::prtGeneralSerialNumber.<hrDeviceIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PRINTER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PRINTER-MIB::prtGeneralSerialNumber'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-255