zabbix-module-sockets is a loadable Zabbix module that enables Zabbix to query the state of sockets - including tcp, udp, unix, raw, etc.