Werk #22906 · Nov 29, 26
Start and stop sites independently of their autostart
Incompatible change. Existing setups may behave differently after upgrading. Review the details below before updating.
Starting a site in the web configuration used to switch on its autostart, and stopping it switched the autostart off. Starting, stopping and the autostart are now independent of each other: starting and stopping a site keeps its autostart setting as it is.
You now change the autostart of a stopped site with the "Enable" and "Disable" buttons in the "Autostart" column of the site management page. omd only changes this setting while the site is stopped. For a running site you can still change it in the properties of the site, which restarts the site.
What this means for you:
- A site you stopped, but whose autostart is enabled, is started again when the device boots, e.g. after a firmware update. If a site should stay stopped after a reboot, disable its autostart.
- Sites you stopped before this update have their autostart disabled, and starting them does not enable it any more. Check the "Autostart" column of the site management page after the update and enable the autostart of the sites that shall start when the device boots: while the site is stopped, or in the properties of a running site (this restarts the site).
- Checkmk monitors the state of a site (service
OMD <site> status) only while its autostart is enabled. A site you stop now keeps its autostart, so its service reports it as critical, where it used to disappear after the next service discovery.
Clusters behave the same way. The cluster starts the sites with enabled autostart when a node takes over, e.g. after a failover. It no longer restarts the sites or fails over when you stop all sites with enabled autostart. The cluster doesn't watch the sites themselves: it doesn't restart a site that stops unexpectedly, now also not when all sites stop.
Also new:
- The site management page offers "Start all sites" and "Stop all sites" in its menu, also when there is only one site.
- The firmware update page names the sites that keep you from updating the firmware and lets you stop all of them right there.
Details
- Class:
- New Features
- Level:
- Prominent
- Component:
- Firmware
- Versions:
- 1.7.28Not yet released