Werk #11123: ups_capacity can handle battery/time_left = 0

Component Checks & Agents
Title ups_capacity can handle battery/time_left = 0
Date May 8, 2020
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.0.0i1 1.6.0p12
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Analogous to ups_modulys_battery ups_capacity will check whether time_on_battery is set and valid. If not we assume we're on main power supply and return OK.

To the list of all Werks