prtgeneralprintername
HP-Color-LaserJet-4500-MIB ·
.1.3.6.1.4.1.11.2.3.9.4.2.2.5.1.1.16
Object
scalar optional
r/w
OctetString
An administrator-specified name for this printer.
Depending upon implementation of this printer, the value of this
object may or may not be same as the value for the MIB-II
'SysName' object.
Additional information:
The maximum supported string length is 32 characters.
Length of 32 was chosen so a phone number could be
included with the name.
If the user-entered string is too long, the device
will store as much as possible and will return the
<noError> status.
The value of this object is saved over a power cycle.
Context
- MIB
- HP-Color-LaserJet-4500-MIB
- OID
.1.3.6.1.4.1.11.2.3.9.4.2.2.5.1.1.16- Type
- scalar
- Access
- readwrite
- 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::prtgeneralprintername.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::prtgeneralprintername'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-32