Werk #14079: Agent registration: Fix required user permissions
Component | REST API |
Title | Agent registration: Fix required user permissions |
Date | May 31, 2022 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 2.2.0b1 2.1.0p2 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
There were some user permission issues with the agent registration (cmk-agent-ctl register ...). For example, the registration crashed with "500 Internal Server Error" for users without the permission "Write access to all hosts and folders".
To register a host, users need the following permissions:
- Agent pairing.
- Read access to the host, either via "Read access to all hosts and folders" or via via contact groups.
- Write access to the host, either via "Write access to all hosts and folders" or via "Modify existing hosts" and write access to the specific host via contact groups.