Check for HP Printers

Paul L. Allen pla at softflare.com
Wed Jan 21 20:34:33 CET 2004


Neil writes: 

> You can also use check_tcp!9100 so you can check tcp connectivity on
> that port.

Yeah, you could do that.  Or you could struggle with one of the plugins
that do general-purpose SNMP queries and try to figure out what you need
to send to the printer to get back its status, and thereby get
notifications of paper jams and other errors.  Or you could do the same
thing the easy way... 

One of the first things I did after installing Nagios was run all the
standard plugins with -h to see what they did.  One of them (with a
rather obvious name) turned out to query HP printers that have a JetDirect
interface using SNMP.  But the only parameter you need to give it is the
printer's IP address (or domain name if it has one).  No struggling trying
to figure out the right SNMP parameters. 

BTW, I gave another couple of clues there for those still struggling to
find the plugin written specifically to make it easy to get the
operational status of HP printers with JetDirect interfaces.  And here's
another BIG clue: it lives in Nagios's libexec directory and the name
starts with "check_". 

-- 
Paul Allen
Softflare Support 




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list