Werk #15766: local: Better error handling for incorrect local checks
Komponente | Checks & agents | ||||||||
Titel | local: Better error handling for incorrect local checks | ||||||||
Datum | 22.06.2023 | ||||||||
Level | Kleine Änderung | ||||||||
Klasse | Neues Feature | ||||||||
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen | ||||||||
Checkmk versions & editions |
|
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.