Module: check_mk
Branch: master
Commit: 6ecd3d28ecff8dc92d3df8b5d995c3e8d87e9f12
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6ecd3d28ecff8d…
Author: Florian Kromer <fk(a)mathias-kettner.de>
Date: Mon Nov 19 15:37:58 2018 +0100
6895 FIX hp_msa_volume: Use volume-name as item identifier
Previously the durable-id has been used as identifier of items for the
check hp_msa_volume (and its sub checks io and df). The durable-id is not
guaranteed to be unique for different controllers of a volume. This werk
changes the unique identifier for items from durable-id to volume-name.
As soon as a discovery is executed the hp_msa_volume check items
appear volume-name.
CMK-1129
Change-Id: I72c5630d6c3bdbbadd85bb0a9ba920da69f60c01
---
.werks/6895 | 16 +
checks/hp_msa_volume | 73 ++--
.../datasets/hp_msa_volume_regression.py | 394 ++-------------------
tests/unit/checks/test_hp_msa_volume.py | 138 ++++++++
4 files changed, 232 insertions(+), 389 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=6ecd3d28ec…