We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

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

ComponentCore & Setup
TitleCMC: Fix escaping of "!" in check_command and check_command_expanded arguments
Date2019-08-22 16:22:12
Checkmk EditionCheckmk Enterprise Edition (CEE)
Checkmk Version1.6.0b8,1.7.0i1
LevelTrivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

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.