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

check_hpjd_new

Current Version
4.0
Last Release Date
2011-07-07
Compatible With
  • Nagios 3.x
  • Nagios 4.x
Hits
107291
Files:
FileDescription
check_hpjd_new.phpVersion 1
check_hpjd_new.phpVersion 2
check_hpjd_new.phpVersion 3
check_hpjd_new4.zipVersion 4

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

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