ID: 1147
Title: upc_capacity, ups_socomec_capacity: Fix checking of battery left levels
Component: Checks & Agents
Level: 2
Class: Bug Fix
Version: 1.2.5i6
The fixes the execution of the levels for <i>Time left on battery</i>. These
levels where internally compared against the <t>Time running on battery</i>
- which is obviously quite the opposite.
Example: If you configure a warning level of <tt>50</tt> minutes for
<i>Time
left on battery</i> then the check gets critical if the estimated remaining
battery time is 50 minutes or less.