[Nagiosplug-help] monitoring printers

Jon Angliss jon at netdork.net
Tue Aug 5 14:44:39 CEST 2008


On Tue, 5 Aug 2008 12:23:16 +0200,
jendan at tiscali.cz wrote:

>Hello,
>I am lost, how can I check network printers? Status, pagecount, toner, etc....
>
>thanks much

That entirely depends on the printer, and the facilities they provide.
Some printers give access to SNMP, which provides that kind of
information.  For example, HP LaserJet 4000 uses
1.3.6.1.4.1.11.2.3.9.1.1.2.10.0 for toner level (if I remember
correct)s.  You should check up on the printer documentation to find
out if it supports SNMP, or has other reporting services.  Once you've
established that, tie it into a Nagios plugin.  In the above example,
you could use the check_snmp plugin as such:

./check_snmp -H $HOSTNAME$ -o .1.3.6.1.4.1.11.2.3.9.1.1.2.10.0 -s 0

Or something to that affect.
-- 
Jon Angliss





More information about the Help mailing list