Werk #18143: unix agents: Print valid agent sections if DISABLE_CACHING is enabled

Component Checks & agents
Title unix agents: Print valid agent sections if DISABLE_CACHING is enabled
Date Jun 11, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p5 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p35
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Previously, invoking an UNIX agent while enabling DISABLE_CACHING did not work properly. For instance, the invocation DISABLE_CACHING='true' check_mk_agent.linux would result in agent output such as:

'<<<chrony>>>'; waitmax 5 chronyc -n tracking | cat || true

The agents will now run the commands instead of printing them. This regression was introduced in Werk #12906. Thank you Artem Sidorenko for this contribution.

To the list of all Werks