Werk #17340: Registering agents without automation user

Component Checks & agents
Title Registering agents without automation user
Date Oct 8, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0p36 Checkmk MSP (CME)

This is only relevant if you use the managed edition and you set the automation user to belong to the provider!

If the automation user is marked to belong to the provider the user is not synchronized to the customer sites. When registering an agent the agent receiver queries the RestAPI in order to get the configuration for the configured lifetime of agent certificates. In order to authenticate the agent receiver tries to use the automation user. This failed with an uncaught exception if that automation user does not exists. In 2.3.0 we switched to another authentication scheme which is not available in 2.2.0, therefore these cases are now caught and the default lifetime (5 years) is used.

To the list of all Werks