ID: 15656
Title: Agent TLS registration: Fix `500 Internal Server Error` during register and
status
Component: agents
Level: 1
Class: Bug fix
Version: 2.1.0p26
When registering new agents (<tt>cmk-agent-ctl register</tt>) or querying the
status of registered
agents (<tt>cmk-agent-ctl status</tt>), users might have encountered the
error
C+:
Error: Request failed with code 500 Internal Server Error: Internal Server Error (!!)
C-:
This happened if the path <tt>/opt/tmp</tt> existed on the monitoring server
and the corresponding
site user did <i>not</i> have read permissions for this path. If this
happened, the log file
<tt>var/log/agent-receiver/error.log</tt> contained errors such as
C+:
[ERROR] Exception in ASGI application
Traceback (most recent call last):
...
PermissionError: [Errno 13] Permission denied:
'../../../tmp/check_mk/data_source_cache/push-agent/my-host'
C-:
Show replies by date