Werk #12647: ups_cps_battery: fix crash "ValueError (invalid literal for int() with base 10:'NULL')"
Komponente | Checks & agents |
Titel | ups_cps_battery: fix crash "ValueError (invalid literal for int() with base 10:'NULL')" |
Datum | 31.03.2021 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.0.0p2 2.1.0b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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.