self-test
CLJ8550-MIB ·
.1.3.6.1.4.1.11.2.3.9.4.2.1.1.5.1
Object
scalar optional
r/w
Enumeration
Writing this object allows a device self test to be started. Reading this object provides an indication what self-test is currently executing, if any. Actual self-test operation is device specific. A self test may not be allowed at any arbitrary time. If the device supports the requested self test, but can not start the execution of the self test when requested, the device will respond with <genErr>. If a non-destructive self test is being started, the device will generate a response before the self test is completed. RECOMMENDATION: If the device is ready (i.e. the NOT- READY-PRINTER object does not contain any items, except maybe being off-line) and is idle (i.e. the NOT-IDLE object does not contain any items), this request should always succeed. This provides a mechanism for driver writers to always determine if the action will succeed or not. Additional information: The eNonDestructiveSelfTest performs limited testing on the printer and its attached paper handling devices. After the self-test is complete a configuration page is printed. The recommended way to cause a configuration page to be printed is to use the PRINT-INTERNAL-PAGE object. A continuous self test cannot be started or terminated using this OID. When the printer is idle, setting this object to eNonDestructiveSelfTest results in a status of <noError> and a value of eNonDestructiveSelfTest being returned. If the printer is not idle (whether printing an external job, printing an internal page or running self test), a status of <genErr> status will be returned with a value of eNotInASelfTest. When the printer is idle, setting this object to eNonDestructiveSelfTest causes some internal testing, the page to be formatted and put in the printer's print queue. Before the page is in the print queue, a get on this object will return eNonDestructiveSelfTest Attempting to set this object before the page has completed being formatted and printed will cause <genErr> status to be returned with a value of eNotInASelfTest. After the page is in the queue, a get on this object will return a value of eNotInASelfTest. Setting this object to eNonDestructiveSelfTest before the first page has completed results in a status of <genErr> status with a value of eNotInASelfTest. Likewise, if the PRINT-INTERNAL-PAGE object is set to a valid value and that page has not printed when this object is set to eNonDestructiveSelfTest, a status of <genErr> status with a value of eNotInASelfTest will be returned until the internal page has printed.
Context
- MIB
- CLJ8550-MIB
- OID
.1.3.6.1.4.1.11.2.3.9.4.2.1.1.5.1- Type
- scalar
- Access
- readwrite
- Status
- optional
- Parent
- test
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 'CLJ8550-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CLJ8550-MIB::self-test.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CLJ8550-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CLJ8550-MIB::self-test'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | eNotInASelfTest |
4 | eNonDestructiveSelfTest |