Module: check_mk
Branch: master
Commit: 3a5deeec701e186c2336d62e54a199df65c67e86
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3a5deeec701e18…
Author: Andreas Doehler <andreas.doehler(a)gmail.com>
Date: Thu Oct 11 16:01:15 2012 +0200
check_http definition of proxy_auth corrected was wrong variable 'auth' not
'proxy_auth'
Signed-off-by: Andreas Doehler <andreas.doehler(a)gmail.com>
---
checks/check_http | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/checks/check_http b/checks/check_http
index 9a3f31c..b392263 100644
--- a/checks/check_http
+++ b/checks/check_http
@@ -71,7 +71,7 @@ def check_http_arguments(params):
args += ' -a %s:%s' % (quote_shell_string(auth[0]),
quote_shell_string(auth[1]))
if "proxy_auth" in settings:
- auth = settings["auth"]
+ auth = settings["proxy_auth"]
args += ' -b %s:%s' % (quote_shell_string(auth[0]),
quote_shell_string(auth[1]))
if "onredirect" in settings: