check-printer - Nagios plugin for printer health via SNMP
check-printer --host|H printer [ --community|c snmp-community ] [ --snmpwalk snmpwalk-path ] [--verbose] [--help]
check-printer is a Nagios plugin to monitor printer health via SNMP. It uses snmpwalk command to retrieve printer alert table. Strongly inspired by check-printers plugin http://exchange.nagios.org/directory/Plugins/Network-Protocols/SNMP/check-printers/details
Specifies printer hostname/ip-address to monitor. Required.
Specifies SNMP community name. Default value is 'public'.
Specifies path to the snmpwalk program. Default value is 'snmpwalk'
Produces detailed output for debugging
Produces a help message.
check-printer --host 10.0.0.100
Retrieves alert table from the printer and produces status output.
check-printer --host 10.0.0.100 --snmpwalk "c:\util\netsnmp\bin\snmpwalk"
Retrieves alert table from the printer via snmpwalk binary c:\util\netsnmp\bin\snmpwalk and produces status output.
0 OK
1 WARNING
2 CRITICAL
3 UNKNOWN
Tevfik Karagulle http://www.itefix.net
This program is distributed under the Artistic License http://www.opensource.org/licenses/artistic-license.php/
Version 1.1, December 2023
- code clean-up