UserParameter=tcp[*],netstat -anp tcp |find /i /c "$1"
In Zabbix Agent 5.2.0 it's normal:

but in Zabbix Agent2 5.2.0 and 5.2.1 It's abnormal:

In Zabbix Agent 5.2.0 it's normal:
but in Zabbix Agent2 5.2.0 and 5.2.1 It's abnormal: