Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

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

Component Checks & agents
Title 'local' check: raised ValueError (No escaped character) or (No closing quotation)
Date Apr 13, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.0.0p2 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

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.

To the list of all Werks