Werk #11880: ups_capacity: Bring back UPS 'capacity' metric

Component Checks & agents
Title ups_capacity: Bring back UPS 'capacity' metric
Date Dec 18, 2020
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0b4 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0p20 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

In versions 1.6.0p12 to 1.6.0p19 the 'capacity' metric was not produced if the correspinding devices were on main power supply. If it was produced, it was the canonical unit sections, which is desirable, but an incompatible change in Checkmk 1.6.

Note that some devices report "0 minutes left" in case they are on mains. In this case no levels are applied, to avoid false positives.

To the list of all Werks