diff options
author | Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net> | 2004-11-24 06:36:13 +0000 |
---|---|---|
committer | Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net> | 2004-11-24 06:36:13 +0000 |
commit | ca109dc7ed7fd3093f267d4a19fe49f073476356 (patch) | |
tree | 9c041ee2272f601e038ec257e5ffce806042f35b /plugins/check_hpjd.c | |
parent | c4000f5d6c910828e26aca1566d8e1587fece17d (diff) | |
download | monitoring-plugins-ca109dc7ed7fd3093f267d4a19fe49f073476356.tar.gz |
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
Diffstat (limited to 'plugins/check_hpjd.c')
-rw-r--r-- | plugins/check_hpjd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c index b124cceb..5699570c 100644 --- a/plugins/check_hpjd.c +++ b/plugins/check_hpjd.c | |||
@@ -103,7 +103,7 @@ main (int argc, char **argv) | |||
103 | HPJD_GD_DOOR_OPEN, HPJD_GD_PAPER_OUTPUT, HPJD_GD_STATUS_DISPLAY); | 103 | HPJD_GD_DOOR_OPEN, HPJD_GD_PAPER_OUTPUT, HPJD_GD_STATUS_DISPLAY); |
104 | 104 | ||
105 | /* get the command to run */ | 105 | /* get the command to run */ |
106 | sprintf (command_line, "%s -m : -v 1 -c %s %s %s", PATH_TO_SNMPGET, community, | 106 | sprintf (command_line, "%s -OQa -m : -v 1 -c %s %s %s", PATH_TO_SNMPGET, community, |
107 | address, query_string); | 107 | address, query_string); |
108 | 108 | ||
109 | /* run the command */ | 109 | /* run the command */ |