Module: check_mk
Branch: master
Commit: 220d2ccd17455012e36176d478324ec9ff50e842
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=220d2ccd174550…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Sep 11 10:01:27 2015 +0200
Remove bogus lower levels from temp check in hp_msa_disk
---
checks/hp_msa_disk | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/checks/hp_msa_disk b/checks/hp_msa_disk
index ec9011e..d627822 100644
--- a/checks/hp_msa_disk
+++ b/checks/hp_msa_disk
@@ -202,8 +202,7 @@ check_info['hp_msa_disk.io'] = {
# '----------------------------------------------------------------------'
factory_settings["hp_msa_disk_temp_default_levels"] = {
- "levels" : (40.0, 45.0),
- "levels_lower" : (20.0, 15.0),
+ "levels" : (40.0, 45.0), # just an assumption
}
def inventory_hp_msa_disk_temp(parsed):
@@ -215,7 +214,7 @@ def check_hp_msa_disk_temp(item, params, parsed):
for key, values in parsed.items():
disks.append( (key, float( values["temperature-numeric"] )) )
- return check_temperature_list( disks, params )
+ return check_temperature_list(disks, params)
check_info['hp_msa_disk.temp'] = {