thecoderhead/net-watch
The script allows the user to input a host IP, port, and threshold for number of connections. The user can also select the protocol for monitoring either TCP or UDP. The script then starts a thread to monitor the network connection and it raises an alert if the threshold is exceeded. The user can start and stop monitoring with simple buttons.
Python