Werk #13847: local: Do not crash upon invalid metric names

Component Checks & agents
Title local: Do not crash upon invalid metric names
Date Apr 13, 2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p23 2.1.0b6 2.2.0b1
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required

In Checkmk 1.6 and earlier the backend would silently sanitize metric names according to the nagios specification. As this is no longer done, the local check plugin crashed upon invalid metric names. As the metric names may be provided by third party components we no longer crash, but issue a warning instead. The measured value will still be shown, and provided levels will be applied.

To the list of all Werks