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

Werk #22149: omd config: report failures with a non-zero exit code

Component Site management
Title omd config: report failures with a non-zero exit code
Date Sep 16, 2026
Level Prominent Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
3.0.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

Previously omd config set, omd config show and omd config change printed an error message and then exited with code 0. Scripts wrapping these commands could not tell a successful configuration change from a failed one, so a typo in a variable name or a hook that failed to activate went unnoticed.

These commands now exit with code 1 whenever they report an error, for example:

  • an unknown configuration variable
  • an invalid value for a variable
  • an unknown omd config subcommand
  • a configuration hook that failed to activate
  • an attempt to change a variable while the site is still running

omd config show and omd config change now also report every problem they ran into instead of stopping at the first one.

To the list of all Werks