Module: check_mk
Branch: master
Commit: 40487cb2c85045ceac3fde7902ba2831b351c331
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=40487cb2c85045…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Sep 6 15:31:16 2013 +0200
FIX: check_http: Fixed syntax error when monitoring certificates
---
ChangeLog | 1 +
checks/check_http | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index e62cb23..1eb21b9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -331,6 +331,7 @@
* FIX: zypper: deal with output from SLES 10
* FIX: zpool_status: Ignoring "No known data errors" text
* FIX: dmi_sysinfo: Handling ":" in value correctly
+ * FIX: check_http: Fixed syntax error when monitoring certificates
Multisite:
* FIX: LDAP: Disabling use of referrals in active directory configuration
diff --git a/checks/check_http b/checks/check_http
index ed8e361..a75e64a 100644
--- a/checks/check_http
+++ b/checks/check_http
@@ -48,7 +48,7 @@ def check_http_arguments(params):
if "cert_host" in settings:
omit_ip = True
- args += '-H $HOSTADDRESS$'
+ args += ' -H $HOSTADDRESS$'
args += ' -I %s' % quote_shell_string(settings['cert_host'])
if "cert_days" in settings: