Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: 61f5a0793c9bd77c30ded2a9198fea0284da4287
https://github.com/tribe29/checkmk/commit/61f5a0793c9bd77c30ded2a9198fea028…
Author: Frans Fürst <frans.fuerst(a)tribe29.com>
Date: 2021-09-10 (Fri, 10 Sep 2021)
Changed paths:
A .werks/13251
M checks/netapp_api_temp
Log Message:
-----------
13251 FIX netapp_api_temp: crash on access to non-existing key
'temp-sensor-current-temperature'
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.
Change-Id: I96db7c3789631d2241b6b132c3d656dbee14fe19