Checkmk 2.0 ist hier! Alle Neuigkeiten erfahren.

Werk #12708: 'local' check: raised ValueError (No escaped character) or (No closing quotation)

Komponente Checks und Agenten
Titel 'local' check: raised ValueError (No escaped character) or (No closing quotation)
Datum 13.04.2021
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.0.0p2
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

The way 'local' splits it's input in order to be able to recognize (quoted) service names with spaces (namely shlex.split()) would stumble upon inconsistent input. This change switches back to split() and looks for opening and closing quotes manually and thus eleminating shlex related problems.

Zur Liste aller Werks