Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: 41e3442ffbe0cccb7d6e0c7befe4511a6b275873
https://github.com/tribe29/checkmk/commit/41e3442ffbe0cccb7d6e0c7befe4511a6…
Author: Frans Fürst <frans.fuerst(a)tribe29.com>
Date: 2020-12-28 (Mon, 28 Dec 2020)
Changed paths:
A .werks/11782
M checks/ups_out_load
M cmk/base/check_legacy_includes/ups_generic.py
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