Werk #14079: Agent registration: Fix required user permissions

Komponente REST API
Titel Agent registration: Fix required user permissions
Datum 31.05.2022
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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.

Zur Liste aller Werks