Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 176d2d4d2cbee32373b7900bdd95a4f3b7825b10
https://github.com/tribe29/checkmk/commit/176d2d4d2cbee32373b7900bdd95a4f3b…
Author: Simon Jess <simon.jess(a)tribe29.com>
Date: 2020-09-01 (Tue, 01 Sep 2020)
Changed paths:
A .werks/11266
M checks/ups_generic.include
M checks/ups_out_load
M checks/ups_power
A tests/unit/checks/generictests/datasets/ups_out_load_regression.py
A tests/unit/checks/generictests/datasets/ups_power_regression.py
Log Message:
-----------
11266 FIX ups_out_load, ups_power: Fix discovery of output lines with zero load resp.
power
Previously output lines were discovered in the check plugins {{ups_out_load}},
{{ups_power}} if and only if they had a value greater than zero.
Now we use the voltage value in order to decide whether a line is connected or
not.
Change-Id: I2227eb7ee1f7c12235ea6030e175fbe5763a315a