Module: check_mk
Branch: master
Commit: 2f1d9e8850c676a854dd804b9d8921acb3ada79f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2f1d9e8850c676…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Nov 16 09:54:45 2015 +0100
agent_netapp: added comment regarding tls/ssl authentification
---
agents/special/agent_netapp | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/agents/special/agent_netapp b/agents/special/agent_netapp
index 7753ef7..7e189b7c 100755
--- a/agents/special/agent_netapp
+++ b/agents/special/agent_netapp
@@ -36,6 +36,18 @@ except Exception, e:
sys.exit(1)
+# Use this block if you want to use TLS instead of SSL authentification
+
+#import ssl
+#from functools import wraps
+#def sslwrap(func):
+# @wraps(func)
+# def bar(*args, **kw):
+# kw['ssl_version'] = ssl.PROTOCOL_TLSv1
+# return func(*args, **kw)
+# return bar
+#
+#ssl.wrap_socket = sslwrap(ssl.wrap_socket)
def usage():