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
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0b6 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p23 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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