Module: check_mk
Branch: master
Commit: 10a10c3152aae43eaf30f9e2afdfddbf331f9f71
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=10a10c3152aae4…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Thu Dec 20 11:33:57 2018 +0100
7054 agent_vsphere, esx_vsphere_hostsystem.multipath: use new API endpoint
For ESX versions above or equal to 6.5 the API endpoint "multipathState"
does not deliver sufficient data for the subcheck esx_vsphere_hostsystem.multipath
which may lead to a wrong output of the subcheck. Therefore, the subcheck now
uses the "multipathInfo" API endpoint instead.
For ESX versions below 6.5 which already use the ID of a LUN as an item
no further actions are necessary. For new ESX version which use an item
like e.g. "L0 physical" a service rediscovery is necessary. After the
rediscovery new ESX versions will use the ID of a LUN as an item as well.
CMK-1362
Change-Id: I24d0bd6d16b1cbbced475f50706b770f2ee8392a
---
.werks/7054 | 18 ++
agents/special/agent_vsphere | 21 +-
checks/esx_vsphere_hostsystem | 70 +------
.../esx_vsphere_hostsystem_55_regression.py | 60 ++++++
.../esx_vsphere_hostsystem_esx51_regression.py | 232 +--------------------
.../datasets/esx_vsphere_hostsystem_regression.py | 56 ++---
6 files changed, 136 insertions(+), 321 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=10a10c3152…