Werk #17528: tcp_connections: Support for connection data from "ss" and "netstat"

Component Checks & agents
Title tcp_connections: Support for connection data from "ss" and "netstat"
Date Mar 5, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p29 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

The ss command has a different order of columns in the output than netstat. This caused a ValueError when creating a monitoring rule for UDP or TCP connections, when the connection data is provided by the ss command.

This fix parses data from the ss command correctly to avoid the exception.

SUP-22678

To the list of all Werks