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 Edition Checkmk Raw (CRE)
Checkmk Version 1.6.0p12 2.0.0i1
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