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

Werk #8873: CMC: Fix escaping of "!" in check_command and check_command_expanded arguments

Component Core & setup
Title CMC: Fix escaping of "!" in check_command and check_command_expanded arguments
Date Aug 22, 2019
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.0.0i1 Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b8 Checkmk Enterprise (CEE), Checkmk MSP (CME)

The values of the check_command and check_command_expanded livestatus columns were not exactly the same in Microcore as in Nagios:

Microcore:

OMD[stable]:~$ lq "GET services\nFilter: description = Events ServiceSystem\nColumns: check_command"
check_mk_active-mkevents!$HOSTNAME$/$HOSTADDRESS$ '^(?!Service|System).*$'

Nagios:

OMD[stable]:~$ lq "GET services\nFilter: description = Events ServiceSystem\nColumns: check_command"
check_mk_active-mkevents!$HOSTNAME$/$HOSTADDRESS$ '^(?\!Service|System).*$'

The Microcore has now been changed to work exactly like the Nagios core.

To the list of all Werks