diff --git a/cucm/2.4/cucm-0.4.1.mkp b/cucm/2.4/cucm-0.4.1.mkp new file mode 100755 index 0000000..4c08e18 Binary files /dev/null and b/cucm/2.4/cucm-0.4.1.mkp differ diff --git a/cucm/2.4/local/lib/python3/cmk_addons/plugins/cucm/server_side_calls/special_agent.py b/cucm/2.4/local/lib/python3/cmk_addons/plugins/cucm/server_side_calls/special_agent.py index 89f1efc..48f45d0 100644 --- a/cucm/2.4/local/lib/python3/cmk_addons/plugins/cucm/server_side_calls/special_agent.py +++ b/cucm/2.4/local/lib/python3/cmk_addons/plugins/cucm/server_side_calls/special_agent.py @@ -12,7 +12,10 @@ def agent_cucm_arguments(params, host_config): args += ["-u", params["user"]] if "password" in params: - args += ["-s", params["password"].unsafe()] + p = params["password"] + if type(p) != str: + p = p.unsafe() + args += ["-s", p] if "port" in params: args += ["-p", str(params["port"])]