Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: 37bbe85cd5fbd456b7811c9c3558b9e892312cfa
https://github.com/tribe29/checkmk/commit/37bbe85cd5fbd456b7811c9c3558b9e89…
Author: Andreas Umbreit <andreas.umbreit(a)tribe29.com>
Date: 2020-12-02 (Wed, 02 Dec 2020)
Changed paths:
A .werks/11718
A checkman/ups_battery_state
M checkman/ups_capacity
R checks/ups_capacity
R cmk/base/check_legacy_includes/ups_capacity.py
A cmk/base/plugins/agent_based/ups_battery_state.py
A cmk/base/plugins/agent_based/ups_capacity.py
A cmk/base/plugins/agent_based/ups_eaton_mg.py
A cmk/base/plugins/agent_based/utils/ups.py
M cmk/gui/plugins/metrics/environment.py
M cmk/gui/plugins/metrics/translation.py
R tests/unit/checks/generictests/datasets/ups_capacity_invalid_time_left.py
M tests/unit/checks/test_generic_legacy_conversion.py
A tests/unit/cmk/base/plugins/agent_based/utils/test_ups.py
Log Message:
-----------
CMK-6197: ups_battery_state: New check for UPS Eaton battery state
- New utils.ups module, with generic check functions for battery
capacity and battery state
- Migrated ups_capacity.include to the new utils.ups module
- Migrated check ups_capacity to use the generic check function from
utils.ups
- Added proper metric_info for ups_capacity metrics
- New check ups_battery_state, that uses the generic
check_ups_battery_state function from utils.ups
- New check_sections for UPS Eaton devices, that read out information
about battery capacity and states from "Merlin Gerin" labeled OIDs
- Add Werk #11718
Change-Id: I0abaf6b410b084048b52ea87f6f2b4fe5155da79