arguments for check_hpjd plugin

Subhendu Ghosh sghosh at sghosh.org
Fri Jul 8 17:49:34 CEST 2005


On Fri, 8 Jul 2005, Scott Doenges wrote:

> Hi all,
>
> Thanks for your suggestions regarding the check_hpjd plugin for monitoring 
> printers.  It sounds like it will do just what I want.
>
> However I am trying to use this Nagios plugin with Intermapper (a similar 
> networking monitoring app for Mac OS X).  Intermapper fully supports using 
> Nagios plugins with their standard arguments, but since I'm a Nagios noob I'm 
> having some difficulty setting up the plugin's arguments to report error 
> conditions on a printer.  It sounds like each plugin has a help page 
> somewhere but without a proper Nagios install I can't get to them :)
>
> Can anyone offer some suggestions on the argument I need to use with this 
> plugin, to report out of paper/toner/paper jam, etc?
>
> thanks,
> Scott
>

Plugin help can be retrieved by running the plugins with -h as an option. 
There are no man pages.
-----

This plugin tests the STATUS of an HP printer with a JetDirect card.
Ucd-snmp must be installed on the computer running the plugin.

Usage: check_hpjd -H host [-C community]
        check_hpjd --help
        check_hpjd --version

Options:
  -H, --hostname=STRING or IPADDRESS
    Check server on the indicated host
  -C, --community=STRING
    The SNMP community name
  -h, --help
    Print detailed help screen
  -V, --version
    Print version information
------

This plugin checks the following objects and will error on all.
#define HPJD_LINE_STATUS           ".1.3.6.1.4.1.11.2.3.9.1.1.2.1"
#define HPJD_PAPER_STATUS          ".1.3.6.1.4.1.11.2.3.9.1.1.2.2"
#define HPJD_INTERVENTION_REQUIRED ".1.3.6.1.4.1.11.2.3.9.1.1.2.3"
#define HPJD_GD_PERIPHERAL_ERROR   ".1.3.6.1.4.1.11.2.3.9.1.1.2.6"
#define HPJD_GD_PAPER_JAM          ".1.3.6.1.4.1.11.2.3.9.1.1.2.8"
#define HPJD_GD_PAPER_OUT          ".1.3.6.1.4.1.11.2.3.9.1.1.2.9"
#define HPJD_GD_TONER_LOW          ".1.3.6.1.4.1.11.2.3.9.1.1.2.10"
#define HPJD_GD_PAGE_PUNT          ".1.3.6.1.4.1.11.2.3.9.1.1.2.11"
#define HPJD_GD_MEMORY_OUT         ".1.3.6.1.4.1.11.2.3.9.1.1.2.12"
#define HPJD_GD_DOOR_OPEN          ".1.3.6.1.4.1.11.2.3.9.1.1.2.17"
#define HPJD_GD_PAPER_OUTPUT       ".1.3.6.1.4.1.11.2.3.9.1.1.2.19"
#define HPJD_GD_STATUS_DISPLAY     ".1.3.6.1.4.1.11.2.3.9.1.1.3"

-- 

-sg


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
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