Werk #17070: Agent controller on Linux: More informative error message in case of file reading errors in import mode

Component Checks & agents
Title Agent controller on Linux: More informative error message in case of file reading errors in import mode
Date Jun 21, 2024
Checkmk Version 2.4.0b1 2.3.0p8 2.2.0p28 2.1.0p45
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Affected Editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p8 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p28 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p45 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

On Linux systems, the agent controller always runs as the cmk-agent user, independently of the user starting the controller. Hence, in import mode, the input file must readable by the cmk-agent user. Otherwise, the import will fail. As of this werk, the controller displays a more informative error message in this case, hinting at the point that the input file must be readable by cmk-agent.

To the list of all Werks