summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
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"