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
Level Prominent Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.2.5i6
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.5i6
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.5i6
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.5i6
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.5i6
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.5i6
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.5i6
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.5i6
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.5i6 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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