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 |
Checkmk Edition | Checkmk Enterprise (CEE) |
Checkmk Version | 1.6.0b8 2.0.0i1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - 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.