Home Directory Plugins Printing check_hpjd_new

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


Remember Me

Directory Tree


Current Version
Last Release Date
Compatible With
  • Nagios 3.x
  • Nagios 4.x
check_hpjd_new.phpVersion 1
check_hpjd_new.phpVersion 2
check_hpjd_new.phpVersion 3
check_hpjd_new4.zipVersion 4
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
About 90% of the time there is a warning from my printers, it's because they are running low on toner. This module will tell you what cartridge to order for HP Jet Direct printers.
To invoke, include this in commands.cfg:

define command{
command_name check_hpjd_new
command_line php /path/to/check_hpjd_new.php $HOSTADDRESS$ public

Version 3 has added warn and critical thresholds. To invoke:

define command{
command_name check_hpjd_new
command_line php /path/to/check_hpjd_new.php $HOSTADDRESS$ public 10 5

Change public to whatever your SNMP community string is or just leave it alone.

This plugin requires php5-snmp to be installed. See your OS vendor's repository for details.

Beyond that, use just like "check_hpjd" in your device configs.

This will only work with printers that have the built-in Jet Direct module and will not work with the cable connected Jet Direct boxes.
Reviews (2)
byclatramp, November 23, 2015
Good plugin
thanks you for sharing
PS: Is missing the Drum checking on version 4
bymcantsin, August 27, 2011
Thank you! - Works fine for me.
"check_hpjd -H myprinter.local -C public" generated "Error in packet ()".

rgrds, MC

P.S. See also: http://blog.hackersare.us/2011/06/checkhpjdnew-nagios-plugin.html