Werk #13251: netapp_api_temp: crash on access to non-existing key 'temp-sensor-current-temperature'
Komponente | Checks & agents |
Titel | netapp_api_temp: crash on access to non-existing key 'temp-sensor-current-temperature' |
Datum | 09.09.2021 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.0.0p10 2.1.0b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
The check function assumes there's a key 'temp-sensor-current-temperature' for every netapp_api_temp
section element and runs into a KeyError if that isn't the case.
This change preprocesses all entries in a way that only valid entries containing
'temp-sensor-current-temperature' will be processed.