Module: check_mk
Branch: master
Commit: 3614736a064012ec64222ba36953f4cf475d61b8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3614736a064012…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Nov 19 17:20:53 2014 +0100
parse_function: fixed exception when subchecks should use parsed data
---
modules/check_mk.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/check_mk.py b/modules/check_mk.py
index f37deaf..8b1b58a 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -2926,7 +2926,7 @@ def make_inventory(checkname, hostnamelist, check_only=False,
include_state=Fals
if checkname_base in check_info: # parse function must be define for base
check
parse_function =
check_info[checkname_base]["parse_function"]
if parse_function:
- info = check_info[checkname]["parse_function"](info)
+ info =
check_info[checkname_base]["parse_function"](info)
except MKAgentError, e:
# This special handling is needed for the inventory check. It needs
special