Werk #18924: Agent FreeBSD: Change default paths

Component Checks & agents
Title Agent FreeBSD: Change default paths
Date Dec 16, 2025
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

The Checkmk FreeBSD agent updates its default installation paths as follows:

  • Configuration path: /usr/local/etc/check_mk (previously /etc/check_mk)
  • Variable data path: /var/db/check_mk_agent (previously /var/lib/check_mk_agent)

The new paths follow FreeBSD filesystem conventions. Note:
This change may break workflows or scripts referencing the old paths. If you are affected by this change, please update the mentioned paths to ensure continued operation.

Technical background:
On FreeBSD, the Checkmk agent package is typically installed via ports or pre-compiled packages. Configuration files are expected under /usr/local/etc. Additionally, FreeBSD uses /var/db instead of /var/lib.

Thanks to felixjogris for this contribution!

To the list of all Werks