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 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
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.