Available solutions
Vendor and Community integrations are created by third parties and are not verified by Zabbix. Zabbix is not responsible for their functionality or quality.
Zabbix community templates
1 Contributed to the zabbix/community-templates repositoryStarting from the template that they published in:https://systembash.com/track-tcp-and-udp-connections-with-zabbix/I have modified the parameters for use in Windows. For it to work, add the following lines in UserParameter of zabbix_agent.confUserParameter=sockstat.sockets, netstat -ano | find /V "hola" /CUserParameter=sockstat.tcp.inuse, netstat -ano | findstr ESTABLISHEDUserParameter=sockstat.tcp.inuse.count, netstat -ano | find /C "ESTABLISHED"UserParameter=sockstat.tcp.orphan, netstat -ano | findstr CLOSE_WAITUserParameter=sockstat.tcp.orphan.count, netstat -ano | find /C "CLOSE_WAIT"UserParameter=sockstat.tcp.timewait, netstat -ano | findstr TIME_WAITUserParameter=sockstat.tcp.timewait.count, netstat -ano | find /C "TIME_WAIT"UserParameter=sockstat.tcp.allocated, netstat -ano | findstr LISTENINGUserParameter=sockstat.tcp.allocated.count, netstat -ano | find /C "LISTENING"UserParameter=sockstat.udp.inuse, netstat -ano | findstr UDPUserParameter=sockstat.udp.inuse.count, netstat -ano | find /C "UDP"Restart Zabbix agent
Community repositories
3 Independent projects on GitHubzabbix loadable module for aggregating TCP sessions
TCP Connection Status