Module: check_mk
Branch: master
Commit: 07bd1dd40303182f865f8fadbf0e9fdb7e9976c1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=07bd1dd4030318…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed May 2 14:30:24 2012 +0200
Cosmetic cleanup
---
checks/check_http | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/checks/check_http b/checks/check_http
index 9a6a439..4444a04 100644
--- a/checks/check_http
+++ b/checks/check_http
@@ -63,6 +63,7 @@ def check_http_arguments(params):
if "auth" in settings:
auth = settings["auth"]
args += ' -a %s:%s' % (quote_shell_string(auth[0]),
quote_shell_string(auth[1]))
+
if "proxy_auth" in settings:
auth = settings["auth"]
args += ' -b %s:%s' % (quote_shell_string(auth[0]),
quote_shell_string(auth[1]))
@@ -100,7 +101,7 @@ def check_http_arguments(params):
active_check_info['http'] = {
"command_line" : '$USER1$/check_http -I $HOSTADDRESS$
$ARG1$',
"argument_function" : check_http_arguments,
- "service_description" : lambda args: "HTTP %s" % args[0],
+ "service_description" : lambda params: "HTTP %s" % params[0],
"has_perfdata" : True,
}