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/