Module: check_mk
Branch: master
Commit: 0295e28db5d8ee458140b5d96a24b536f19d2723
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0295e28db5d8ee…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Jun 20 17:35:58 2013 +0200
Fix syntax error in lnx_thermal, rename check file
---
checks/{thermal => lnx_thermal} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/thermal b/checks/lnx_thermal
similarity index 96%
rename from checks/thermal
rename to checks/lnx_thermal
index b22a849..8e9a595 100644
--- a/checks/thermal
+++ b/checks/lnx_thermal
@@ -63,8 +63,8 @@ def check_lnx_thermal(item, params, info):
return (3, 'No data found for sensor "thermal_zone%s"' % item)
check_info['lnx_thermal'] = {
- "inventory_function" : inventory_thermal,
- "check_function" : check_thermal,
+ "inventory_function" : inventory_lnx_thermal,
+ "check_function" : check_lnx_thermal,
"service_description" : "Temperature %s",
"has_perfdata" : True,
}