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 Edition Checkmk Raw (CRE)
Checkmk Version 1.6.0p21 2.0.0b4 2.1.0b1
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