Branch: refs/heads/1.6.0
Home:
https://github.com/tribe29/checkmk
Commit: 04abc0cb5de44bdbb966d578cefe1f84b15595a2
https://github.com/tribe29/checkmk/commit/04abc0cb5de44bdbb966d578cefe1f84b…
Author: Ulrich Bschorer <ulrich.bschorer(a)tribe29.com>
Date: 2021-01-29 (Fri, 29 Jan 2021)
Changed paths:
A .werks/11782
M checks/ups_generic.include
M checks/ups_out_load
M tests/unit/checks/generictests/datasets/ups_out_load_regression.py
Log Message:
-----------
11782 FIX ups_out_load check and discovery crash on empty values for load and voltage
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.
Change-Id: I810570dd7e29903f16ff128ce30056d91aa81c7f