Werk #19206 · May 13, 26
win_netstat: Improve handling of Windows-specific TCP connection states
Previously, the win_netstat check plugin could crash with a KeyError when encountering certain TCP connection state names reported by Windows. Some valid Windows-specific state representations were not recognized, causing the check to fail entirely for the affected host.
This is a follow-up to Werk #19201.
Starting with this release, additional Windows-specific TCP state names are correctly mapped to their standard equivalents. Furthermore, any connection state that is not recognized is now mapped to a default value instead of raising an error, so the check no longer crashes on unexpected state names.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p3All Editions