Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #17237: check_mk_agent.openwrt: resolve issue when hostname command unavailable

Component Checks & agents
Title check_mk_agent.openwrt: resolve issue when hostname command unavailable
Date Nov 8, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.3.0p21 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.2.0p37 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT

Built-in BusyBox shell in OpenWRT has no hostname command available per default. While it can be added with additional packages in custom images there are alternative ways to determine the machine's hostname without introducing an additional dependency. This werk uses one of those alternatives.

To the list of all Werks