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 |
|
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.