I am trying to use the check_snmp_printer plugin to monitor a few printers
on the network. I am able to use it via the bash shell with
./check_snmp_printer 192.168.x.x public CONSUM ALL. However when I define
it in objects/commands.cfg and make a .cfg file for a printer I get a
"usage is:  " in nagios

Here is how I have defined the command in commands.cfg
# 'check_snmp_printer' command definition
define command{
        command_name    check_snmp_printer
        command_line    $USER1$/check_snmp_printer $HOSTADDRESS$ $ARG1$
$ARG2$
        }
I'm thinking its something with the way I have it defined. Any input would
be greatly appreciated.
Thanks
-- 
Bo Lynch




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to