Checkmk 2.0 is here! See what's new.

Werk #12647: ups_cps_battery: fix crash "ValueError (invalid literal for int() with base 10:'NULL')"

Component Checks & Agents
Title ups_cps_battery: fix crash "ValueError (invalid literal for int() with base 10:'NULL')"
Date Mar 31, 2021
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.1.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The check ups_cps_battery crashed with the error "ValueError (invalid literal for int() with base 10:'NULL')" if the value for the OID "upsAdvanceBatteryTemperature" is equal to 'NULL'. This is a violation of the SNMP specification. In future these values will simply be ignored.

To the list of all Werks