Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #18028: systemd-timedated: avoid agent timeout when service is down

Component Checks & agents
Title systemd-timedated: avoid agent timeout when service is down
Date Jun 11, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.4.0p6 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.3.0p35 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT

When the systemd-timedated.service is not running, the command used by the agent to retrieve its status can time out, resulting in the agent timeout.

To address this issue, we have added a timeout of 5 seconds to limit the timedatectl show command.

Credits for this improvement go to GitHub user mueller-ma.

To the list of all Werks