We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

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

ComponentChecks & Agents
Titleups_capacity can handle battery/time_left = 0
Date2020-05-08 07:48:44
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.6.0p12,2.0.0i1
LevelTrivial Change
ClassBug Fix
CompatibilityCompatible - 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.