Skip to end of metadata
Go to start of metadata

With this setting, the most of the configuration files are pretty-printed and easier to read.

Step-by-step guide

Setup → Global settings → Administration Tool (WATO) → Pretty-Print configuration files 

Setup → Global settings → Administration Tool (WATO) → Pretty-Print rules in config file of Event Console 

toggle at least the "Pretty-Print configuration files" to on!


The next time you save a config in checkmk, you will be able to read the file better:

OMD[workshop]:~$ 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}}})
OMD[workshop]:~$