Werk #11782: ups_out_load check and discovery crash on empty values for load and voltage

Component Checks & Agents
Title ups_out_load check and discovery crash on empty values for load and voltage
Date Dec 28, 2020
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.0.0b4 2.1.0i1 1.6.0p21
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Empty SNMP values for load or values would result in an unhandled exception {{ValueError (invalid literal for int() with base 10: '')}}. This fix checks for empty values first before taking them as numeric values.

To the list of all Werks