Werk #15665: OMD configuration: Avoid duplicate port allocations
Component | Site management | ||||||||
Title | OMD configuration: Avoid duplicate port allocations | ||||||||
Date | May 2, 2023 | ||||||||
Level | Trivial Change | ||||||||
Class | Bug Fix | ||||||||
Compatibility | Compatible - no manual interaction needed | ||||||||
Checkmk versions & editions |
|
When creating a new site or when changing the port configurations of an existing site via omd config, Checkmk was supposed to check for duplicate port allocations (also across multiple sites). This mechanism was broken, which means that ports could be allocated multiple times. Specifically, the following port settings were affected:
- APACHE_TCP_PORT
- AGENT_RECEIVER_PORT
- LIVESTATUS_TCP_PORT
As of this werk, when attempting to configure an already allocated port, Checkmk will increment the port number until a free port is found.