...
- Pretty print the configuration for a better overview: Pretty-print the configuration files
Add the following section to the config file: ~/etc/check_mk/multisite.d/wato/roles.mk.
Now we build a new role, only to register the Checkmk Agent with two roles! The whole configCode Block language pybash theme RDark collapse true 'agent': {'alias': 'agents registration and download', 'basedon': None, 'builtin': True, 'permissions': {'general.usesee_all': True, 'wato.download_all_agentsgeneral.use': True, general.see_all 'wato.download_all_agents': True}}})
In order to put it to the right place, please add a comma "," before the "})".
At the end the whole file should look like this:
Code Block language py theme RDark collapse true # Written by Checkmk store roles.update({'admin': {'alias': 'Administrator', 'builtin': True, 'permissions': {}}, 'admin': {'alias': 'Administrator', 'basedon': 'admin', 'builtin': False, 'permissions': {}}, 'guest': {'alias': 'Guest user', 'builtin': True, 'permissions': {}}, 'user': {'alias': 'Normal monitoring user', 'builtin': True, 'permissions': {}}, 'agent': {'alias': 'agents registration and download', 'basedon': None, 'builtin': True, 'permissions': {'general.see_all': True, 'general.use': True, 'wato.download_all_agents': True}} }) ~
Agent Pairing for TLS Encryption
...