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

Komponente Core & setup
Titel CMC: Fix escaping of "!" in check_command and check_command_expanded arguments
Datum 22.08.2019
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk-Version 1.6.0b8 2.0.0i1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks