CMK version: 2.2.0p19
OS version: 8.8
Multiple Problems:
- Agent Updater does not work because the OS is in FIPS mode. This way you need to add
--nofiledigestto the rpm installation command to install a agent. You can’t do this when the agent intself trys to install a new one (see also Agent install on RHEL 9 FIPS enabled work around) - The Agent failes shortly after installing. You can query agent data in checkmk 2-3 times until the service fails.
systemctl status check-mk-agent.socket
Warning: The unit file, source configuration file or drop-ins of check-mk-agent.socket changed on disk. Run 'systemctl daemon-reload' to reload units.
● check-mk-agent.socket - Local Checkmk agent socket
Loaded: loaded (/usr/lib/systemd/system/check-mk-agent.socket; enabled; vendor preset: disabled)
Active: failed (Result: resources) since Tue 2024-01-23 10:41:13 GMT; 3h 0min ago
Docs: https://docs.checkmk.com/latest/en/agent_linux.html
Listen: /run/check-mk-agent.socket (Stream)
Accepted: 902; Connected: 0;
Jan 23 10:40:01 ***** systemd[1]: Starting Local Checkmk agent socket.
Jan 23 10:40:01 ***** systemd[1]: Listening on Local Checkmk agent socket.
Jan 23 10:41:13 ***** systemd[1]: check-mk-agent.socket: Failed to queue service startup job (Maybe the service file is missing or not a template unit?): Invalid argument
Jan 23 10:41:13 ***** systemd[1]: check-mk-agent.socket: Failed with result 'resources'.
If you run systemctl daemon-reload after that, the unit is no longer found.
systemctl status check-mk-agent.socket
● check-mk-agent.socket
Loaded: not-found (Reason: Unit check-mk-agent.socket not found.)
Active: failed (Result: resources) since Tue 2024-01-23 10:41:13 GMT; 3h 9min ago
Jan 23 10:40:01 ***** systemd[1]: Starting Local Checkmk agent socket.
Jan 23 10:40:01 ***** systemd[1]: Listening on Local Checkmk agent socket.
Jan 23 10:41:13 ***** systemd[1]: check-mk-agent.socket: Failed to queue service startup job (Maybe the service file is missing or not a template unit?): Invalid argument
Jan 23 10:41:13 ***** systemd[1]: check-mk-agent.socket: Failed with result 'resources'.
Any ideas on how to troubleshoot further?