Module: check_mk
Branch: master
Commit: ce34509f1b9db02367ab7c60068288031fbbf209
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ce34509f1b9db0…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Jun 13 11:32:10 2013 +0200
fix: prevent that legacy checks receive params
---
modules/automation.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/automation.py b/modules/automation.py
index 73f31bd..344070c 100644
--- a/modules/automation.py
+++ b/modules/automation.py
@@ -253,6 +253,7 @@ def automation_try_inventory_node(hostname):
# Collect current status information about all existing checks
table = []
for (ct, item), (state_type, paramstring) in found.items():
+ params = None
if state_type not in [ 'legacy', 'active' ]:
# apply check_parameters
try: