A lot of users are asking for a role in checkmk which is using by the agent updater and only for the registration process. At the moment, there is no build in role. Please follow this short how-to if you want to have this kind of roleFor the purpose of registering agents, both for agent updates and for TLS encryption, it might be desirable to have a dedicated user and role at hand.
This article outlines, how that can be achieved.
Table of Contents
The UI way
The easiest way to build an agent registration role is using the GUI and following these steps:
- Create a copy of the guest
...
- role and name it meaningfully.
- Ensure the role has the following permissions:
- "Use the GUI at all"
- "Register Host & download monitoring agents of your hosts",
- "Register all hosts & download all monitoring agents"
- Optionally you can disable all other permissions.
- Create a user with a meaningful name
- Configure the following things:
- Authentication: Automation Secret
- Assign the agent registration role created before
- Configure the following things:
The config file way
Note |
---|
We always recommend using the GUI instead of modifying .mk files. For any issue or broken config we do not provide any support. On exceptional circumstances you might want to adjust configuration files with caution. Please do a backup before adjusting the files. |
...