How-to enable Pretty-print configuration files
With this setting, most configuration files are pretty-printed and easier to read.
LAST TESTED ON CHECKMK 2.3.0P1
Table of Contents
Step-by-step guide
- Setup → General → Global Settings → Search for "pretty-print"
- Toggle at least the "Pretty-Print configuration files" to on!
The next time you save a configuration in Checkmk, the file will be more readable.
OMD[mysite]:~$ cat etc/check_mk/multisite.d/wato/roles.mk # Written by Checkmk store roles.update({'admin': {'alias': 'Administrator', 'builtin': True, 'permissions': {'wato.random_hosts': True}}, 'agent': {'alias': 'agent', 'builtin': True, 'permissions': {}}, 'guest': {'alias': 'Guest user', 'builtin': True, 'permissions': {}}, 'user': {'alias': 'Normal monitoring user', 'builtin': True, 'permissions': {}}, 'userx': {'alias': 'Normal monitoring user (copy)', 'basedon': 'user', 'builtin': False, 'permissions': {'wato.automation': True, 'wato.sites': True}}})
Related articles