All MIBs › HOST-RESOURCES-V2-MIB › hrPrinterDetectedErrorState
hrPrinterDetectedErrorState
Module: HOST-RESOURCES-V2-MIB
OID (symbolic): HOST-RESOURCES-V2-MIB::hrPrinterDetectedErrorState
OID (numeric): 1.3.6.1.2.1.25.3.5.1.2
Node type: OBJECT-TYPE
Type: Bits
Access: read-only
Description:
This object represents any error conditions detected by the printer. The error conditions are encoded as bits in an octet string, with the following definitions:
Condition Bit # hrDeviceStatus
lowPaper 0 warning(3) or down(5) noPaper 1 warning(3) or down(5) lowToner 2 warning(3) or down(5) noToner 3 warning(3) or down(5) doorOpen 4 warning(3) or down(5) jammed 5 warning(3) or down(5) offline 6 warning(3) or down(5) serviceRequested 7 warning(3) or down(5)
inputTrayMissing 8 warning(3) or down(5) outputTrayMissing 9 warning(3) or down(5) markerSupplyMissing 10 warning(3) or down(5) outputNearFull 11 warning(3) or down(5) outputFull 12 warning(3) or down(5) inputTrayEmpty 13 warning(3) or down(5) overduePreventMaint 14 warning(3) or down(5)
If multiple conditions are currently detected and the hrDeviceStatus would not otherwise be unknown(1) or testing(4), the hrDeviceStatus shall correspond to the worst state of those indicated, where down(5) is worse than warning(3) which is worse than running(2).
Bits are numbered starting with the most significant bit of the first byte being bit 0, the least significant bit of the first byte being bit 7, the most significant bit of the second byte being bit 8, and so on. A one bit encodes that the condition was detected, while a zero bit encodes that the condition was not detected.
This object is useful for alerting an operator to specific warning or error conditions that may occur, especially those requiring human intervention.
Because error bits 8 through 14 can indicate a printer that is still functioning, the corresponding (recommended) printer hrDeviceStatus can be either warning(3) or down(5).
New bits may be defined by standards-track MIB modules but the maximum size of instances of this variable should be 128 octets.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.25.3.5.1.2 snmpwalk -v2c -c public <target> HOST-RESOURCES-V2-MIB::hrPrinterDetectedErrorState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.25.3.5.1.2.1 snmpget -v2c -c public <target> HOST-RESOURCES-V2-MIB::hrPrinterDetectedErrorState.1
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.2 | mgmt | BKTEL-HFC862-BASE-MIB |
| 1.3.6.1.2.1 | mib_2 | CHECKPOINT-MIB-2 |
| 1.3.6.1.2.1.25 | host | HOST-RESOURCES-MIB |
| 1.3.6.1.2.1.25.3 | hrDevice | HOST-RESOURCES-MIB |
| 1.3.6.1.2.1.25.3.5 | hrPrinterTable | HOST-RESOURCES-MIB |
| 1.3.6.1.2.1.25.3.5.1 | hrPrinterEntry | HOST-RESOURCES-MIB |
| 1.3.6.1.2.1.25.3.5.1.2 | hrPrinterDetectedErrorState | HOST-RESOURCES-V2-MIB |