Werk #15665: OMD configuration: Avoid duplicate port allocations

Component Site management
Title OMD configuration: Avoid duplicate port allocations
Date May 2, 2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.1.0p27 2.2.0b7 2.3.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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