Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #15766: local: Better error handling for incorrect local checks

Component Checks & agents
Title local: Better error handling for incorrect local checks
Date Jun 22, 2023
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.2.0p5 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.1.0p30 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT
2.0.0p37 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

Previously, the discovery service would crash in case of incorrect lines in the local check section. This prevented all other local services with correct format from being discovered.

Now, the discovery service no longer crashes, the faulty local service is discovered and it crashes with a helpful message. All other local services are discovered and their state isn't influenced by the incorrect service. In case when the item can't be determined from the local section line, the line is completely ignored.

To the list of all Werks