Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Import Macro Repair

...

Table of Contents

Step-by-step guide

...

  1. Setup → General → Global Settings → Search for "pretty-print"
    Image Modified

  2. Toggle at least the "Pretty-Print configuration files" to on!


The next time you save a config configuration in Checkmk, you the file will be able to read the file better:more readable.

Code Block
languagebash
themeRDark
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}}})

...