Home Directory Plugins Printing Check printer toner (HP)

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check printer toner (HP)

Rating
0 votes
Favoured:
0
Current Version
0.1a
Last Release Date
2022-10-05
Compatible With
  • Nagios 4.x
License
GPL
Hits
372
Files:
FileDescription
check_printer.txtcheck_printer.txt
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Check printer toner (HP)
The script for verifying the toner level for the HP printers which have issues with SNMP. I have the HP DeskJet 2630 and the web interface of it is passwordless (maybe I'll add auth support in the future, as for now - nope). The script checks if the printer is in the network and if the ink level is sufficient (both black and color). It does so by parsing the XML page, generated by the printer.
The script for verifying the toner level for the HP printers which have issues with SNMP. I have the HP DeskJet 2630 and the web interface of it is passwordless (maybe I'll add auth support in the future, as for now - nope).
The script checks if the printer is in the network and if the ink level is sufficient (both black and color). It does so by parsing the XML page, generated by the printer.

Sample usage:

define service {

use generic-service
host_name %my_printer_host_name%
service_description Printer toner status
check_command check_printer_toner
}


define command {
command_name check_printer_toner
command_line $USER1$/check_printer -H $HOSTADDRESS$ --separator=" "
}