Module: check_mk
Branch: master
Commit: 559bb357d902f7859efc1a711af3d198e87ae403
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=559bb357d902f7…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Mon Nov 6 10:16:09 2017 +0100
Fix for use of active_check_service_descripton in class AutomationActiveCheck
Change-Id: Ia5d37c8e3fad3824d02163b9db00d51b490adb10
---
cmk_base/automations/check_mk.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmk_base/automations/check_mk.py b/cmk_base/automations/check_mk.py
index ba87c1d..8aece39 100644
--- a/cmk_base/automations/check_mk.py
+++ b/cmk_base/automations/check_mk.py
@@ -1105,7 +1105,7 @@ class AutomationActiveCheck(Automation):
if entries:
act_info = checks.active_check_info[plugin]
for params in entries:
- description = config.active_check_service_description(hostname,
act_info, params)
+ description = config.active_check_service_description(hostname,
plugin, params)
if description == item:
args = core_config.active_check_arguments(hostname,
description, act_info["argument_function"](params))
command_line = self._replace_core_macros(hostname,
act_info["command_line"].replace("$ARG1$", args))