diff options
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2002-08-14 19:03:56 +0000 |
---|---|---|
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2002-08-14 19:03:56 +0000 |
commit | 5940d7b65f8e3cfb1f800504ec0e9e6a3895bc0d (patch) | |
tree | 1bd697ab97b2a678e0f37f34464f7c92da2b9f31 | |
parent | c370a35caaa236b154367663307081ec50eb5ae0 (diff) | |
download | monitoring-plugins-5940d7b65f8e3cfb1f800504ec0e9e6a3895bc0d.tar.gz |
net-snmp v5x fix
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@75 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | plugins/check_hpjd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c index b45dfcc7..6d42cd38 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 -m : -v 1 %s %s %s", PATH_TO_SNMPGET, address, | 138 | sprintf (command_line, "%s -m : -v 1 %s -c %s %s", PATH_TO_SNMPGET, address, |
139 | community, query_string); | 139 | community, query_string); |
140 | 140 | ||
141 | /* run the command */ | 141 | /* run the command */ |
@@ -514,7 +514,7 @@ print_help (void) | |||
514 | printf | 514 | printf |
515 | ("Copyright (c) 2000 Ethan Galstad/Karl DeBisschop\n\n" | 515 | ("Copyright (c) 2000 Ethan Galstad/Karl DeBisschop\n\n" |
516 | "This plugin tests the STATUS of an HP printer with a JetDirect card.\n" | 516 | "This plugin tests the STATUS of an HP printer with a JetDirect card.\n" |
517 | "Ucd-snmp must be installed on the computer running the plugin.\n\n"); | 517 | "Net-snmp must be installed on the computer running the plugin.\n\n"); |
518 | print_usage (); | 518 | print_usage (); |
519 | printf | 519 | printf |
520 | ("\nOptions:\n" | 520 | ("\nOptions:\n" |