We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Werk #10840: Fix evaluation of time specific parameters if default parameters are tuple based

ComponentChecks & Agents
TitleFix evaluation of time specific parameters if default parameters are tuple based
Date2020-03-18 10:58:09
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.6.0p11,1.7.0i1,1.5.0p25
LevelTrivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

Old tuple based parameters may look like

NAME_default_levels = (90.0, 95.0)

In this case if time specific parameters are additionally configured and the check is executed outside of this time period then the evaluation of these parameters crashed

TypeError: cannot convert dictionary update sequence element #0 to a sequence

Now we simply ignore the (old) tuple-based parameters. A rule with a timespecifc parameter settings always has an implicit default parameter set, even if no timeperiod matches.