sleep-mode

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

Object

scalar optional r/w Enumeration
Returns eTrue if the device is in energy saving sleep
mode, otherwise returns eFalse.  Setting SLEEP-MODE to
eFalse causes the device to wake up, if it is in sleep
mode.  Setting SLEEP-MODE to eTrue causes the device to
go into sleep mode.
Additional information:
Setting this object to eTrue while the printer
is awake will not change the printer's current state
and will return <genErr>
status.   
Setting to eTrue while printer is already in  
the Sleep Mode will not change the printer's 
current state and will return <noError> status.   
Setting to eFalse while printer is already awake  
will not change the printer's current state and will 
return <noError> status.

Context

MIB
HP-Color-LaserJet-4500-MIB
OID
.1.3.6.1.4.1.11.2.3.9.4.2.1.1.1.2
Type
scalar
Access
readwrite
Status
optional
Parent
settings-system

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::sleep-mode.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::sleep-mode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1eFalse
2eTrue