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
2435
Files:
FileDescription
check_printer.txtcheck_printer.txt
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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=" "
}