Преглед изворни кода

add -OQa to command_line in check_hpjd.c. Correct nagiosplug-Bugs-889948, 846329

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@933 f882894a-f735-0410-b71e-b25c423dba1c
Stanley Hopcroft пре 21 година
родитељ
комит
ca109dc7ed
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      plugins/check_hpjd.c

+ 1 - 1
plugins/check_hpjd.c

@@ -103,7 +103,7 @@ main (int argc, char **argv)
 		 HPJD_GD_DOOR_OPEN, HPJD_GD_PAPER_OUTPUT, HPJD_GD_STATUS_DISPLAY);
 		 HPJD_GD_DOOR_OPEN, HPJD_GD_PAPER_OUTPUT, HPJD_GD_STATUS_DISPLAY);
 
 
 	/* get the command to run */
 	/* get the command to run */
-	sprintf (command_line, "%s -m : -v 1 -c %s %s %s", PATH_TO_SNMPGET, community, 
+	sprintf (command_line, "%s -OQa -m : -v 1 -c %s %s %s", PATH_TO_SNMPGET, community, 
 									address, query_string);
 									address, query_string);
 
 
 	/* run the command */
 	/* run the command */