Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #22740: db2_connections: don't crash if the port is missing

Component Checks & agents
Title db2_connections: don't crash if the port is missing
Date Oct 15, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
3.0.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p17
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.4.0p38
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

The DB2 Connections service crashed with KeyError: 'port' if the agent plug-in reported the number of connections for a database but not its port.

The service now checks the connections as usual and only shows the port when the agent reports it.

To the list of all Werks