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