summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSubhendu Ghosh <sghosh@users.sourceforge.net>2002-05-08 05:07:22 (GMT)
committerSubhendu Ghosh <sghosh@users.sourceforge.net>2002-05-08 05:07:22 (GMT)
commit3f9ccbd2da5bd99967bac0efc7dfc5bb37e72b47 (patch)
treee98febac12b645208967b468bbb32db9e4275503 /plugins
parent9e674e7806ed0e4b192f067cbe8b4b05cd3f5831 (diff)
downloadmonitoring-plugins-3f9ccbd2da5bd99967bac0efc7dfc5bb37e72b47.tar.gz
updated notes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@25 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_hpjd.c2
-rw-r--r--plugins/check_ups.c3
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)
135 HPJD_GD_DOOR_OPEN, HPJD_GD_PAPER_OUTPUT, HPJD_GD_STATUS_DISPLAY); 135 HPJD_GD_DOOR_OPEN, HPJD_GD_PAPER_OUTPUT, HPJD_GD_STATUS_DISPLAY);
136 136
137 /* get the command to run */ 137 /* get the command to run */
138 sprintf (command_line, "%s -v 1 %s %s %s", PATH_TO_SNMPGET, address, 138 sprintf (command_line, "%s -m : -v 1 %s %s %s", PATH_TO_SNMPGET, address,
139 community, query_string); 139 community, query_string);
140 140
141 /* run the command */ 141 /* 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)
609 print_revision (PROGNAME, "$Revision$"); 609 print_revision (PROGNAME, "$Revision$");
610 printf 610 printf
611 ("Copyright (c) 2000 Tom Shields/Karl DeBisschop\n\n" 611 ("Copyright (c) 2000 Tom Shields/Karl DeBisschop\n\n"
612 "This plugin tests the UPS service on the specified host.\n\n"); 612 "This plugin tests the UPS service on the specified host.\n"
613 "Newtork UPS Tools for www.exploits.org must be running for this plugin to work.\n\n");
613 print_usage (); 614 print_usage ();
614 printf 615 printf
615 ("\nOptions:\n" 616 ("\nOptions:\n"