Module: check_mk
Branch: master
Commit: 574505e8f1b64ffe467ab04e6b95aee80e5ba6b2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=574505e8f1b64f…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Thu Sep 28 13:38:54 2017 +0200
Updated werk 5117
Change-Id: Ie877c0825f97e53e81e8e3d12843bc0391e5e465
---
checks/esx_vsphere_vm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/checks/esx_vsphere_vm b/checks/esx_vsphere_vm
index efd3d13..47c9da5 100644
--- a/checks/esx_vsphere_vm
+++ b/checks/esx_vsphere_vm
@@ -471,6 +471,8 @@ def parse_esx_vsphere_vm_mounted_devices(info):
data = esx_vsphere_vm_convert(info).get("config.hardware.device", [])
parsed = {}
for device_data in " ".join(data).split("@@"):
+ if "|" not in device_data:
+ continue
device_attrs = {}
for entry in device_data.split("|"):
k, v = entry.split(" ", 1)