Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Status
colourGreen
titleLAST TESTED ON CHECKMK 2.0.0P1

Table of Contents

Problem

If you experience that the Checkmk agent is failing with systemd with some of the following messages:

...

Code Block
languagebash
themeRDark
Nov 19 23:24:48 <hostname> systemd[1]: Starting Checkmk agent (<$IP_OF_CHECKMK_SERVER>58616)...
Nov 19 23:24:49 <hostname> systemd[1]: check-mk-agent@99999-<$IP_OF_HOST>:6556-<$IP_OF_CHECKMK_SERVER>58616.service failed to run 'stop-post' task: Transport endpoint is not connected
Nov 19 23:24:49 <hostname> systemd[1]: Failed to start Checkmk agent (<$IP_OF_CHECKMK_SERVER>58616).
Nov 19 23:24:49 <hostname> systemd[1]: Unit check-mk-agent@99999-<$IP_OF_HOST>:6556-<$IP_OF_CHECKMK_SERVER>58616.service entered failed state.
Nov 19 23:24:49 <hostname>systemd[1]: check-mk-agent@99999-<$IP_OF_HOST>:6556-<$IP_OF_CHECKMK_SERVER>58616.service failed.

Reason

The root cause is that CentOS 7 is shipping an old systemd version. Checkmk requires systemd >=235.

...

This is caused by Werk #12153

Solution

Then there are two options to resolve this issue.

  1. Contact the agent through xinetd or SSH. For xinetd, have a look at the rule set: Checkmk agent network service (Linux)
  2. Upgrade to a suitable (preferably binary-compatible) alternative (e.g., Rocky Linux or AlmaLinux)

Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("troubleshooting","workaround") and type = "page" and space = "KB"
labelsworkaround troubleshooting

...