Module: check_mk
Branch: master
Commit: 0f9581e9f1a53445608768bd1fc7a9ab8f09f56c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0f9581e9f1a534…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Jan 24 10:47:57 2017 +0100
agent_ruckus_spot: fixed exception in command line generation
Change-Id: I07292bd60e8ad890b0951471d428eddb1cec2e3f
---
checks/agent_ruckus_spot | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/agent_ruckus_spot b/checks/agent_ruckus_spot
index a9ea100..b184e25 100644
--- a/checks/agent_ruckus_spot
+++ b/checks/agent_ruckus_spot
@@ -34,7 +34,7 @@ def agent_ruckus_spot_arguments(params, hostname, ipaddress):
args += " --venueid " + quote_shell_string(params["venueid"])
args += " --apikey " + quote_shell_string(params["api_key"])
if "cmk_agent" in params:
- args += " --agent_port " +
quote_shell_string(params["cmk_agent"]["port"])
+ args += " --agent_port %s" %
params["cmk_agent"]["port"]
return args