We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Werk #10710: systemd: Do not mark the agent unit failed on single agent failure

ComponentChecks & Agents
Titlesystemd: Do not mark the agent unit failed on single agent failure
Date2020-01-26 16:24:28
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.6.0p9,2.0.0i1
LevelTrivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

When the agent is queried via systemd, the socket unit creates an instance of the agent service unit template. These are named something like check-mk-agent@842-

When one of these services failed in the past for some reason, the unit was left in a failed state and reported by the Checkmk systemd service monitoring as a failed service.

In reality such errors can occur sporadically for various reasons. However, they are usually uninteresting. For this reason, the agent is now executed in such a way that erroneous executions do not lead to a faulty unit.