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

Login

Remember Me

Directory Tree

check_hpjd_new

Current Version
4.0
Last Release Date
2011-07-07
Compatible With
  • Nagios 3.x
  • Nagios 4.x
Hits
114682
Files:
FileDescription
check_hpjd_new.phpVersion 1
check_hpjd_new.phpVersion 2
check_hpjd_new.phpVersion 3
check_hpjd_new4.zipVersion 4
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_hpjd_new
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.

Limitations:
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