Module: check_mk
Branch: master
Commit: f5ac49a66f713f4b137673fb390b654140add50b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f5ac49a66f713f…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon Sep 14 15:56:26 2015 +0200
repaired disk IO section in hp_msa_volume
---
checks/hp_msa_volume | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/checks/hp_msa_volume b/checks/hp_msa_volume
index 1f3cca5..1a91af8 100644
--- a/checks/hp_msa_volume
+++ b/checks/hp_msa_volume
@@ -217,12 +217,12 @@ def check_hp_msa_volume_io(item, params, parsed):
"write_throughput" : get_rate("%s_write" % key, now,
int(values["data-written-numeric"])),
}
- states, outputs, perfdatas = check_diskstat_dict(item, params, disks)
if item != "SUMMARY":
yield 0, "%s (%s)" % (parsed[item]["virtual-disk-name"],
parsed[item]["raidtype"])
- for state, output, perfdata in [states, outputs, perfdatas]:
- yield state, output, perfdata
+ subresults = list(check_diskstat_dict(item, params, disks))
+ for entry in subresults:
+ yield entry
check_info['hp_msa_volume.io'] = {