Problems with checkmk agent on oracle appliances

CMK version: 2.2.0p19
OS version: 8.8

Multiple Problems:

  1. Agent Updater does not work because the OS is in FIPS mode. This way you need to add --nofiledigest to 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)
  2. 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?

Solved via:

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.