Check for HP Printers

orh at kn24.no orh at kn24.no
Wed Jan 21 19:23:57 CET 2004


> On Wed, 2004-01-21 at 08:35, Brian Hendrix wrote:
> > I've looked through several websites and still not having any success.
> > Is there plugin for monitoring HP printers? I am running Nagios on
> > RedHat Linux Enterprise v3.
> >  
> > Thanks in advance,
> >  
> 
> I'd probably do no more than ping an HP printer.  The ones I've had
> experience with did a horrible job of multitasking.  One would even
> consistently freeze up if I just telnet'd to 9000 on it.
> 
> But if you want to see if it works (hey, maybe they've improved, it's
> been a while), you could probably check_tcp 515 and/or 9000.  Or even
> lpq/rlpq | egrep 'this|that|theotherthing'.
> 
> -- 
> Dan Stromberg DCS/NACS/UCI <strombrg at dcs.nac.uci.edu>

Hi;

You may even use SNMP, and these might be interesting OID's:

1.3.6.1.2.1.25.3.2.1.5.1 => hrDeviceStatus:  unknown(1), running(2), warning(3),  testing(4), down(5)
1.3.6.1.2.1.43.16.5.1.2.1.1 => First line of printer console (in hex values)

In order to get more human-readable output from the latter, you may want to modify the check_snmp plugin and add the T 
parameter to the snmpget function call parameters. :)

Best regards
-Odd-Rune




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