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

Werk #13353: Linux agent: Fix two localisation issues

Component Checks & agents
Title Linux agent: Fix two localisation issues
Date Oct 29, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p15 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

On some systems, the linux agent tried to set invalid localisation settings. For example, when C.utf8 is not available, but es_EC.utf8 is, the agent still tried to set C.utf8 as localisation, which resulted in the error setlocale: LC_ALL: cannot change locale.

Furthermore, in the rare case where the locale or the inpath command were not available, no localisation was set. These cases now default to LC_ALL=C.

To the list of all Werks