From 3f9ccbd2da5bd99967bac0efc7dfc5bb37e72b47 Mon Sep 17 00:00:00 2001 From: Subhendu Ghosh Date: Wed, 8 May 2002 05:07:22 +0000 Subject: [PATCH] updated notes git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@25 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_hpjd.c | 2 +- plugins/check_ups.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c index 8234abd..9d1878a 100644 --- a/plugins/check_hpjd.c +++ b/plugins/check_hpjd.c @@ -135,7 +135,7 @@ main (int argc, char **argv) HPJD_GD_DOOR_OPEN, HPJD_GD_PAPER_OUTPUT, HPJD_GD_STATUS_DISPLAY); /* get the command to run */ - sprintf (command_line, "%s -v 1 %s %s %s", PATH_TO_SNMPGET, address, + sprintf (command_line, "%s -m : -v 1 %s %s %s", PATH_TO_SNMPGET, address, community, query_string); /* run the command */ diff --git a/plugins/check_ups.c b/plugins/check_ups.c index 4632bdc..1e1aa39 100644 --- a/plugins/check_ups.c +++ b/plugins/check_ups.c @@ -609,7 +609,8 @@ print_help (void) print_revision (PROGNAME, "$Revision$"); printf ("Copyright (c) 2000 Tom Shields/Karl DeBisschop\n\n" - "This plugin tests the UPS service on the specified host.\n\n"); + "This plugin tests the UPS service on the specified host.\n" + "Newtork UPS Tools for www.exploits.org must be running for this plugin to work.\n\n"); print_usage (); printf ("\nOptions:\n" -- 2.30.2