Module: check_mk
Branch: master
Commit: a4a9bbc93fb2a0c00cef6b520278a929e04d3889
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a4a9bbc93fb2a0…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Mon Feb 1 10:36:39 2016 +0100
openhardwaremonitor.temperature: updated to new temperature api
---
checks/openhardwaremonitor | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/openhardwaremonitor b/checks/openhardwaremonitor
index d64d411..af29bb3 100644
--- a/checks/openhardwaremonitor
+++ b/checks/openhardwaremonitor
@@ -159,7 +159,7 @@ def check_openhardwaremonitor_temperature(item, params, parsed):
if item in parsed.get('Temperature', {}):
traits = type_trait('Temperature')
val = parsed['Temperature'][item] * traits['factor']
- return check_temperature(val, params)
+ return check_temperature(val, params, "openhardwaremonitor_%s" % item)
check_info['openhardwaremonitor.temperature'] = {