Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #13251: netapp_api_temp: crash on access to non-existing key 'temp-sensor-current-temperature'

Component Checks & agents
Title netapp_api_temp: crash on access to non-existing key 'temp-sensor-current-temperature'
Date Sep 9, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT
2.0.0p10 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

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.

To the list of all Werks