Free on-demand webinars: Learn how to set up, configure, and get more out of Checkmk – Pick your webinar

Werk #22577: netstat: ignore lines without addresses

Component Checks & agents
Title netstat: ignore lines without addresses
Date Oct 5, 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.0p16 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.4.0p39 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

If the netstat agent section contained a line that is not a network connection, for example the text "No updates pending for installation" from another agent plug-in, the "TCP Connection" services crashed with TypeError: SplitIP.__init__() missing 1 required positional argument: 'port'.

Lines whose addresses carry no port are now ignored, and the connections of the host are evaluated as usual.

To the list of all Werks