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 #10253: Fix possible AttributeError exception on 'Parameters of service' page

TitleFix possible AttributeError exception on "Parameters of service" page
Date2019-10-09 21:16:26
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.6.0p5,2.0.0i1
LevelTrivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

When trying to view the parameters of a "Number of threads" service while having locally configured rules that were saved with Checkmk before version 1.6, an "AttributeError" crash occurred.

The reason is that this ruleset was converted from a single WARN/CRIT parameter set to a more complex set of parameters. The check and rule editor are correctly transforming the old values, but this is not possible on the "Parameters of service" page.

Instead of the crash Checkmk now prints an error message with a hint that you can open the rule in question for editing and save it again to fix this issue.