check_hp_supply.pl

check_hp_supply

./check\_hp\_supply.pl --help

checks the given Supply on a HP-Printer via SNMP.

check_hp_supply.pl Version: 1.2 Plugin for Nagios

To use this Plugin your HP-Printers must have SNMP enabled.

Usage:

-H (--hostname)   Hostname to query - (required)
-C (--community)  SNMP read community (default=public)
-v (--snmp\_version)  1 for SNMP v1 (default)             2 for SNMP v2c
-p (--snmp\_port)  SNMP Port (default=161)
-a (--action)    Specify one component of your HP-Printer you want to check (required)             
    supply_black - Checks remaining Toner in Percent of the Black-Cartridge
    supply_cyan - Checks remaining Toner in percent of the Cyan-Cartridge (use only for Color-Printers!)
    supply_magenta - Checks remaining Toner in percent of the Magenta-Cartridge (use only for Color-Printers!)
    supply_yellow - Checks remaining Toner in percent of the Yellow-Cartridge (use only for Color-Printers!)
    transfer_kit - Checks Status in percent of the Transfer-Kit / Imaging Drum (only available/tested on HP Color LaserJet 2550 and 4650)
    fuser_kit - Checks Status in percent of the Fuser-Kit (only available/tested on HP Color LaserJet 4650)
    maintenance_kit - Checks Status in percent of the Maintenance-Kit (only available/tested on HP LaserJet 4200/4250/4300)
    drum_kit - Checks Status in percent of the Drum-Kit (only available/tested on Hp Color LaserJet 4550)
-w (--warning)   Warning threshold             Default is 30 percent
-c (--critical)   Critical threshold             Default is 15 percent
-t (--timeout)   Seconds before the plugin times out (default=15)
-V (--version)   Plugin version
-h (--help)     Usage help

Download-Link: http://www.thesysadmin.net/plugin-check_hp_supply/