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
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b7 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p27 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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.

To the list of all Werks