Werk #22144: omd: Don't report errors about uninitialized sites
| Component | Site management | ||||||
| Title | omd: Don't report errors about uninitialized sites | ||||||
| Date | Aug 13, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
When omd picks a port for a site, it scans the configuration of all other sites to find a free one.
Sites that have no configuration at all no longer trigger a message.
This used to hit sites created with omd create --no-init, which were reported as unreadable although a site without a configuration allocates no ports and can therefore never collide.
The error message was also reworked.
If a site's configuration genuinely cannot be read, omd now says so exactly once per invocation:
WARNING: Cannot read the configuration of site(s) mysite: permission denied.
This site may allocate ports used by those sites.