Module: check_mk
Branch: master
Commit: 982723fc449b3c30cc70483eed8ba74f4f196fbd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=982723fc449b3c…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu Dec 12 11:04:46 2013 +0100
liebert_chiller_status: Fixex typo in function names
---
checks/liebert_chiller_status | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/checks/liebert_chiller_status b/checks/liebert_chiller_status
index 75e5b52..da48b94 100644
--- a/checks/liebert_chiller_status
+++ b/checks/liebert_chiller_status
@@ -24,19 +24,19 @@
# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA.
-def inventory_liebhert_chiller_status(info):
+def inventory_liebert_chiller_status(info):
return [(None,None)]
-def check_liebhert_chiller_status(_no_item, _no_params, info):
+def check_liebert_chiller_status(_no_item, _no_params, info):
status = info[0][0]
if status not in [ "5", "7" ]:
return 2, "Device is in a non OK state"
return 0, "Device is in a OK state"
-check_info["liebhert_chiller_status"] = {
- "check_function" : check_liebhert_chiller_status,
- "inventory_function" : inventory_liebhert_chiller_status,
+check_info["liebert_chiller_status"] = {
+ "check_function" : check_liebert_chiller_status,
+ "inventory_function" : inventory_liebert_chiller_status,
"service_description" : "Chiller status",
"has_perfdata" : False,
"snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.476.1.42.4.3.20"),