prtconsoleontime
HP-Color-LaserJet-4500-MIB ·
.1.3.6.1.4.1.11.2.3.9.4.2.2.17.6.1.2
Object
This object, in conjunction with prtConsoleOffTime, defines
the current status of the light. If both prtConsoleOnTime and
prtConsoleOffTime are non-zero, the lamp is blinking and the
values presented define the on time and off time, respectively,
in milliseconds. If prtConsoleOnTime is zero and
prtConsoleOffTime is non-zero, the lamp is off. If
prtConsoleOffTime is zero and prtConsoleOnTime is non-zero,
the lamp is on. If both values are zero the status of the
lamp is undefined.
Additional information:
There are three control panel LED's: Ready (1),
Data (2), and Attention (3). The Ready and Data LED' s will report 500 when they are on or blinking. The
Attention LED will report 250 when it is on or blinking. This object will report 0 for all LED's when they are
off.
Context
- MIB
- HP-Color-LaserJet-4500-MIB
- OID
.1.3.6.1.4.1.11.2.3.9.4.2.2.17.6.1.2- Type
- scalar
- Access
- readonly
- Status
- optional
- Parent
- prtConsoleLightEntry
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::prtconsoleontime.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::prtconsoleontime'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647