Checkmk 2.0 is here! See what's new.

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

Component Checks & Agents
Title systemd: Do not mark the agent unit failed on single agent failure
Date Jan 26, 2020
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.0.0i1 1.6.0p9
Level Trivial Change
Class Bug Fix
Compatibility Compatible - 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-127.0.0.1:6556-127.0.0.1:33196.service.

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.

To the list of all Werks