Werk #13730: check_temperature: Make 'unique_name' and 'value_store' optional, but both are needed for trend computation

Component Checks & agents
Title check_temperature: Make 'unique_name' and 'value_store' optional, but both are needed for trend computation
Date Jun 22, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p4 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Since Checkmk version 2.1.0 the check_temperature function required "unique_name" and "value_store". Both are only needed for trend computation.

Now "unique_name" and "value_store" are optional again. The check engine raises a ValueError if only one of both are set.

To the list of all Werks