summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c370a35)
raw | patch | inline | side by side (parent: c370a35)
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Wed, 14 Aug 2002 19:03:56 +0000 (19:03 +0000) | ||
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Wed, 14 Aug 2002 19:03:56 +0000 (19:03 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@75 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_hpjd.c | patch | blob | history |
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c
index b45dfcc7bd1b721a9ce9c863683b3bcbc980e7b6..6d42cd3866091f048d6601d9464fd3fb9f7f0ec0 100644 (file)
--- a/plugins/check_hpjd.c
+++ b/plugins/check_hpjd.c
HPJD_GD_DOOR_OPEN, HPJD_GD_PAPER_OUTPUT, HPJD_GD_STATUS_DISPLAY);
/* get the command to run */
- sprintf (command_line, "%s -m : -v 1 %s %s %s", PATH_TO_SNMPGET, address,
+ sprintf (command_line, "%s -m : -v 1 %s -c %s %s", PATH_TO_SNMPGET, address,
community, query_string);
/* run the command */
printf
("Copyright (c) 2000 Ethan Galstad/Karl DeBisschop\n\n"
"This plugin tests the STATUS of an HP printer with a JetDirect card.\n"
- "Ucd-snmp must be installed on the computer running the plugin.\n\n");
+ "Net-snmp must be installed on the computer running the plugin.\n\n");
print_usage ();
printf
("\nOptions:\n"