Werk #1147: upc_capacity, ups_socomec_capacity: Fix checking of battery left levels

Component Checks & agents
Title upc_capacity, ups_socomec_capacity: Fix checking of battery left levels
Date Aug 25, 2014
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.2.5i6
Level Prominent Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The fixes the execution of the levels for Time left on battery. These levels where internally compared against the Time running on battery - which is obviously quite the opposite.

Example: If you configure a warning level of 50 minutes for Time left on battery then the check gets critical if the estimated remaining battery time is 50 minutes or less.

To the list of all Werks