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

Werk #16400: omd restart: Exit Code is 2 on Failure

Component Site management
Title omd restart: Exit Code is 2 on Failure
Date Jan 26, 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.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.2.0p21 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.1.0p39 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

omd restart executes omd start and omd stop, both of which can terminate with exit code zero or two. Previously, the exit code of these commands would be ignored. omd restart now reports the worst exit code reported by the two commands.

To the list of all Werks