Werk #22577 · Oct 5, 26
netstat: ignore lines without addresses
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.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p16All Editions
- 2.4.0p39All Editions