Werk #13847: local: Do not crash upon invalid metric names
Komponente | Checks & agents |
Titel | local: Do not crash upon invalid metric names |
Datum | 13.04.2022 |
Checkmk-Editon | Checkmk Raw (CRE) |
Checkmk-Version | 2.2.0i1 2.1.0b6 2.0.0p23 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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.