Werk #10566: local: Service names can contain blank characters
Component | Checks & agents |
Title | local: Service names can contain blank characters |
Date | Nov 12, 2019 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 2.0.0i1 |
Level | Trivial Change |
Class | New Feature |
Compatibility | Compatible - no manual interaction needed |
If you quote the service description in local checks, you can use blank characters now.
As an example, the old format (still supported) and the new format without and with blank:
mylocalcheck_old_format
echo "0 myservice - OK: This is my custom output"
mylocalcheck_new_format
echo "0 \"myservice\" - OK: This is my custom output"
mylocalcheck_new_format_with_blank
echo "0 \"my service\" - OK: This is my custom output"