survivor: Hplj Check Module

SURVIVOR: `hplj` Check Module
About `hplj` Dependencies Arguments Description Examples
About `hplj`
basics |
Module Type | Scheduler | Remote
check | Yes | No
syntax |
         module hplj {
           [community <string>]
           [paperout <boolean>]
           [paperjam <boolean>]
           [tonerlow <boolean>]
           [snmpversion (1 | 2 | 2c | 3)]
           [snmptimeout <number>]
         }
### Dependencies Perl Modules `SNMP` ### Arguments
Name | Type | Value
community | optional string, default is 'public' | SNMP community name with read-access.
paperout | optional boolean, default is true | Whether to report paper out condition.
paperjam | optional boolean, default is true | Whether to report paper jam condition.
tonerlow | optional boolean, default is true | Whether to report toner low condition.
snmpversion | optional string, one of '1', '2','2c', or '3', default is '1' | SNMP protocol version to use.
snmptimeout | optional number between 1 and infinity, default is '5' | SNMP query timeout, in seconds. Note that multiple queries may be issued within one check, so this should not be the same as the module timeout.
1. At least one of paperout, paperjam, or tonerlow must be true. ### Description The `hplj` module uses SNMP to query the status of HP LaserJet printers (or any other printer which conforms to the Printer MIB). Printers are checked for paper levels, paper jams, and toner levels. ### Examples To test for all conditions:
            module hplj {}
2. To not test for low toner:
            module hplj {
              tonerlow false
            }
$Date: 2007/02/11 02:09:26 $ $Revision: 0.6 $ | keywords community paperjam paperout snmptimeout snmpversion tonerlow