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 |
|
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.