ソースを参照

updated notes

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@25 f882894a-f735-0410-b71e-b25c423dba1c
Subhendu Ghosh 24 年 前
コミット
3f9ccbd2da
2 ファイル変更3 行追加2 行削除
  1. 1 1
      plugins/check_hpjd.c
  2. 2 1
      plugins/check_ups.c

+ 1 - 1
plugins/check_hpjd.c

@@ -135,7 +135,7 @@ main (int argc, char **argv)
 		 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 */

+ 2 - 1
plugins/check_ups.c

@@ -609,7 +609,8 @@ print_help (void)
 	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"