Module: check_mk
Branch: master
Commit: 2c1bd62dcf2af895dda09b18f5efcac5dbaa8ba2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2c1bd62dcf2af8…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Nov 23 14:37:48 2015 +0100
#2799 FIX check_mail_loop: "Use TLS over SMTP" option did not work
---
.werks/2799 | 10 ++++++++++
ChangeLog | 1 +
checks/check_mail_loop | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/2799 b/.werks/2799
new file mode 100644
index 0000000..1e8a907
--- /dev/null
+++ b/.werks/2799
@@ -0,0 +1,10 @@
+Title: check_mail_loop: "Use TLS over SMTP" option did not work
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i4
+Date: 1448285828
+
+
diff --git a/ChangeLog b/ChangeLog
index 3975ea1..532814a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -95,6 +95,7 @@
* 2837 FIX: hitachi_hnas_temp: fixed ascii decode error, handles degree celsius now
correct
* 2844 FIX: heartbeat_crm: Fixed problem processing the state of clone set resources
* 2798 FIX: netapp_api_cpu: fixed incorrect scaling of CPU data in NetApp
Clustermode...
+ * 2799 FIX: check_mail_loop: "Use TLS over SMTP" option did not work
Multisite:
* 2684 Added icons for downloading agent data / walks of hosts...
diff --git a/checks/check_mail_loop b/checks/check_mail_loop
index 2842217..5bdedd3 100644
--- a/checks/check_mail_loop
+++ b/checks/check_mail_loop
@@ -33,7 +33,7 @@ def check_mail_loop_arguments(params):
args += ' --smtp-server=$HOSTADDRESS$'
if 'smtp_tls' in params:
- args == ' --smtp-tls'
+ args += ' --smtp-tls'
if 'smtp_port' in params:
args += ' --smtp-port=%d' % params['smtp_port']