Branch: refs/heads/1.6.0
Home:
https://github.com/tribe29/checkmk
Commit: 91b5d802522351bd41179e1cb85fe0ab93b4f9b2
https://github.com/tribe29/checkmk/commit/91b5d802522351bd41179e1cb85fe0ab9…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2019-11-18 (Mon, 18 Nov 2019)
Changed paths:
A .werks/10290
M checks/temperature.include
A tests/unit/checks/test_check_temperature.py
M tests/unit/checks/test_lnx_thermal.py
Log Message:
-----------
10290 FIX Temperature check: fix rendering crash and reporting mismatch
When a check sends a device-specific levels in a specific format
the temperature rendering function of the service display
could crash due to a type mismatch. This werk fixes this crash.
Upon fixing this crash another bug was discovered and fixed. In the case
of user specified levels being set and the service being in mode
"Use your own levels if present, otherwise the device's", the device
levels were not ignored and thus the wrong levels were checked. This
is now fixed as well.
No additional action is needed.
Change-Id: Ia5a3be37b657955fecef8df48c887c9c23f7fcbf