Module: check_mk
Branch: master
Commit: d4107ede20a7b7f00b67fd638ec16feb7f3518e8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d4107ede20a7b7…
Author: Marcel Arentz <ma(a)mathias-kettner.de>
Date: Fri Nov 25 14:59:02 2016 +0100
completion to bugfix #3952
---
checks/diskstat | 3 +++
1 file changed, 3 insertions(+)
diff --git a/checks/diskstat b/checks/diskstat
index b2681d2..5f3d6e2 100644
--- a/checks/diskstat
+++ b/checks/diskstat
@@ -304,6 +304,9 @@ def diskstat_convert_info(parsed):
# with multipath names like "SDataCoreSANsymphony_DAT07-fscl"
if multipath_info:
for uuid, multipath in multipath_info.items():
+ if "alias" not in multipath:
+ multipath["alias"] = ""
+
if multipath["device"] in converted_disks or \
"DM %s" % multipath["alias"] in converted_disks:
for path in multipath["paths"]: