[Nagiosplug-devel] [ nagiosplug-Bugs-1070929 ] hpjdres
SourceForge.net
noreply at sourceforge.net
Wed Nov 24 03:27:36 CET 2004
Bugs item #1070929, was opened at 2004-11-22 12:17
Message generated for change (Comment added) made by amincheneau
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1070929&group_id=29880
Category: None
Group: None
>Status: Open
Resolution: None
Priority: 5
Submitted By: SupaFly (amincheneau)
Assigned to: Stanley Hopcroft (stanleyhopcroft)
Summary: hpjdres
Initial Comment:
Hi I have the error message "No output" in Nagios GUI.
The plugin works in command line with root or nagios
users.
The rights on it are -rwxr-xr-x 1 nagios nagios.
my checkcommands.cfg
define command {
command_name check_hpjdres
command_line $USER1$/check_hpjdres -k 1
-H $HOSTADDRESS$
my services.cfg:
Define service{
host_name FR40
service_description check_hpjdres
check_command toner_black
max_check_attempts 3
normal_check_interval 3
retry_check_interval 1
check_period 24x7
notification_interval 0
notification_period 24x7
notification_options w,u,c,r
contact_groups admins
}
----------------------------------------------------------------------
>Comment By: SupaFly (amincheneau)
Date: 2004-11-24 12:13
Message:
Logged In: YES
user_id=1133930
Thanks for your answer stanley, I have a problem with
check_hpjdres plugin and not with check_hpjd (which is
working fine).
----------------------------------------------------------------------
Comment By: Stanley Hopcroft (stanleyhopcroft)
Date: 2004-11-24 04:10
Message:
Logged In: YES
user_id=395628
Dear aimincheneau,
The latest plugin versions do _not_ have a k option (-k in
your command_line).
pc09011> ./check_hpjd -h
check_hpjd (nagios-plugins 1.4.0alpha2) 1.18
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may
redistribute
copies of the plugins under the terms of the GNU General
Public License.
For more information about these matters, see the file named
COPYING.
Copyright (c) 1999 Ethan Galstad <nagios at nagios.org>
Copyright (c) 2000-2003 Nagios Plugin Development Team
<nagiosplug-devel at lists.sourceforge.net>
This plugin tests the STATUS of an HP printer with a
JetDirect card.
Net-snmp must be installed on the computer running the plugin.
Usage: check_hpjd -H host [-C community]
check_hpjd (-h | --help) for detailed help
check_hpjd (-V | --version) for version information
Options:
-h, --help
Print detailed help screen
-V, --version
Print version information
-C, --community=STRING
The SNMP community name (default=public)
Send email to nagios-users at lists.sourceforge.net if you have
questions
regarding use of this software. To submit patches or suggest
improvements,
send email to nagiosplug-devel at lists.sourceforge.net
pc09011> ./check_hpjd -H ta27
Printer ok - (STRING: "PROCESSING JOB.FROM TRAY 3")
pc09011> ./check_hpjd -H ta27 -k 1
./check_hpjd: invalid option -- k
Invalid argument
Usage: check_hpjd -H host [-C community]
check_hpjd (-h | --help) for detailed help
check_hpjd (-V | --version) for version information
pc09011>
Could this be a mistake in your command_line ?
----------------------------------------------------------------------
Comment By: Ton Voon (tonvoon)
Date: 2004-11-24 01:59
Message:
Logged In: YES
user_id=664364
Moving to Bugs tracker as Support Requests will be closed.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1070929&group_id=29880
More information about the Devel
mailing list