Regression in 1.5.0p1, #6420)
Message-ID: <5b868628.r2Av4+Qnf1gpOexK%lm(a)mathias-kettner.de>
User-Agent: Heirloom mailx 12.5 6/20/10
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Module: check_mk
Branch: master
Commit: 0a0678ea5fc47f9145211a7560e610df475e1ddc
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0a0678ea5fc47f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Aug 29 11:35:12 2018 +0200
6512 FIX agent_3par: Fixed broken 3par special agent (Regression in 1.5.0p1, #6420)
Change-Id: Id6f3dd6c928e472054ede2704ea61a0dc0374a55
---
.werks/6512 | 11 +++++++++++
checks/agent_3par | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/6512 b/.werks/6512
new file mode 100644
index 0000000..bedd1fa
--- /dev/null
+++ b/.werks/6512
@@ -0,0 +1,11 @@
+Title: agent_3par: Fixed broken 3par special agent (Regression in 1.5.0p1, #6420)
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.6.0i1
+Date: 1535535275
+
+
diff --git a/checks/agent_3par b/checks/agent_3par
index 57edac2..cb74add 100644
--- a/checks/agent_3par
+++ b/checks/agent_3par
@@ -29,7 +29,7 @@ def agent_3par_arguments(params, hostname, ipaddress):
args += " -u " + quote_shell_string(params["user"])
args += " -p " + quote_shell_string(params["password"])
- args += quote_shell_string(" --verify-certs=%s" % ("yes" if
params.get("verify_cert", False) else "no"))
+ args += " --verify-certs=%s" % ("yes" if
params.get("verify_cert", False) else "no")
if "values" in params:
args += " -v " +
quote_shell_string(",".join(params["values"]))