Module: check_mk
Branch: master
Commit: 25f992a64014d500c63d1024b457cb5c71b324da
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=25f992a64014d5…
Author: Andreas <ab(a)mathias-kettner.de>
Date: Mon Jun 25 19:11:54 2018 +0200
6237 FIX Inventory plugin esx_vsphere_hostsystem: fixed crash during HW/SW inventory
Change-Id: Ib90093e3840816b821a0a89200e271d86c6766ea
---
.werks/6237 | 11 +++++++++++
inventory/esx_vsphere_hostsystem | 1 +
2 files changed, 12 insertions(+)
diff --git a/.werks/6237 b/.werks/6237
new file mode 100644
index 0000000..519dc7b
--- /dev/null
+++ b/.werks/6237
@@ -0,0 +1,11 @@
+Title: Inventory plugin esx_vsphere_hostsystem: fixed crash during HW/SW inventory
+Level: 1
+Component: inv
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.6.0i1
+Date: 1529946673
+
+
diff --git a/inventory/esx_vsphere_hostsystem b/inventory/esx_vsphere_hostsystem
index 8feb578..b738617 100644
--- a/inventory/esx_vsphere_hostsystem
+++ b/inventory/esx_vsphere_hostsystem
@@ -45,6 +45,7 @@ def inv_esx_vsphere_hostsystem_parse(info, inv_items=None):
inv_items = {}
result = {}
+ info, _ = info
for line in info:
key = line[0]
for pattern, settings in inv_items.items():