How to monitor HP printers
HP printers with JetDirect cards can be monitored using one of two plugins. This article describes both approaches. The status information required is the printer’s global status.
Different models of HP printers respond in different ways. If the check_hpjd approach does not work for you, try the other plugin.
The check_hpjd approach Copied
First, add the following check-command, if it’s not already in your check-command-list:
| command_name: | check_hpjd |
| command_line: | $USER1$/check_hpjd -H $HOSTADDRESS$ -C $ARG1$ |
Use the above check-command in a new service object associated with the host object representing your HP printer. See the example below:
| service_description: | Printer status |
| check_command: | check_hpjd |
| check_command_args: | public |
The check_snmp_printer approach Copied
First, add the following check-command, if it’s not already in your check-command-list:
| command_name: | check_snmp_printer |
| command_line: | $USER1$/check_snmp_printer -H $HOSTADDRESS$ -C $ARG1$ -P HP |
Use the above check-command in a new service object associated with the host object representing your HP printer. See the example below:
| service_description: | Printer status |
| check_command: | check_snmp_printer |
| check_command_args: | public |