summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9e674e7)
raw | patch | inline | side by side (parent: 9e674e7)
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Wed, 8 May 2002 05:07:22 +0000 (05:07 +0000) | ||
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Wed, 8 May 2002 05:07:22 +0000 (05:07 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@25 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_hpjd.c | patch | blob | history | |
plugins/check_ups.c | patch | blob | history |
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c
index 8234abdf90a706b0ec0eec011cfc82bb09fd9353..9d1878a4509035e6b5054962a015172d93a74641 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 -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 4632bdc013d0abf54b99fd36d4e8f2be6d084e43..1e1aa39ce6a71637ee2182466c3643377d3dc633 100644 (file)
--- a/plugins/check_ups.c
+++ b/plugins/check_ups.c
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"