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

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