Werk #13468: mrpe: Do not crash upon invalid metrics

Component Checks & agents
Title mrpe: Do not crash upon invalid metrics
Date Nov 8, 2021
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.1.0i1 2.0.0p16
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed

In Checkmk versions prior to 2.0, invalid performance data strings passed by the MRPE plugin have been ignored.

In Checkmk 2.0 the parsing would find those invalid strings, and crash upon them. This is generally the desired behaviour (see the documentation for a rationale).

However, since MRPE comprises a lot of different plugins, an all-or-nothing approach is rather inconvenient. We now parse everything as good as we can, and issue an UNKNOWN state for the affected service.

To the list of all Werks