prtConsoleOnTime
Printer-MIB ·
.1.3.6.1.2.1.43.17.6.1.2
Object
column r/w
Integer32
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 lamp is off.
NOTE: The above description has been modified from RFC 1759
for clarification.
Context
- MIB
- Printer-MIB
- OID
.1.3.6.1.2.1.43.17.6.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- prtConsoleLightEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk 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::prtConsoleOnTime'
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::prtConsoleOnTime.<hrDeviceIndex>.<prtConsoleLightIndex>'
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::prtConsoleOnTime'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-2147483647
Conformance
Member of
Compliance refinements
prtMIB2Compliance
readonly
It is conformant to implement this object as read-only
prtMIBCompliance
readonly
It is conformant to implement this object as read-only