Module: check_mk
Branch: master
Commit: 79cfaddc703a56d6ac20bcfc34384476e1d52c18
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=79cfaddc703a56…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Feb 5 14:02:07 2015 +0100
Fixed name of check internal helper variable
---
checks/cmctc_lcp | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/checks/cmctc_lcp b/checks/cmctc_lcp
index 288ed3f..b0383bf 100644
--- a/checks/cmctc_lcp
+++ b/checks/cmctc_lcp
@@ -125,12 +125,12 @@ snmp_info["cmctc_lcp"] = (
)
-for s, i in cmctc_lcp_sensortypes.items():
- check_info['cmctc_lcp.' + s] = {
- "check_function" : (lambda st: lambda item,params,info:
check_cmctc_lcp(item, params, info, st))(s),
- "inventory_function" : (lambda st: lambda info:
inventory_cmctc_lcp(info, st))(s),
+for _s, _i in cmctc_lcp_sensortypes.items():
+ check_info['cmctc_lcp.' + _s] = {
+ "check_function" : (lambda st: lambda item,params,info:
check_cmctc_lcp(item, params, info, st))(_s),
+ "inventory_function" : (lambda st: lambda info:
inventory_cmctc_lcp(info, st))(_s),
"has_perfdata" : True,
- "service_description" : i[1],
+ "service_description" : _i[1],
}
# Set WATO check group for temperature checks