Add connection info into the high load notice (SCRIPTS)(TEMPLATES)

Version 1.531

Feature
Finished

Add connection info into the connection notice. ===================== SCRIPT new script at: /usr/local/directadmin/scripts/connection_info.sh which will spit out the netstat info for: - list top number of connected IPs, with their connection count - the IP with the most number of connections, with all connection info (including ports) - if /usr/sbin/ss exists, a full dump of "ss -n" for more info. A cust copy can be used at: /usr/local/directadmin/scripts/custom/connection_info.sh to fully override the default. --- OR a hook is called from within the script, which can be created here, so you can include your own output to the Admin message: /usr/local/directadmin/scripts/custom/connection_info_post.sh so that the default output is still included, without needing you to manage it if copied.. plus your own output from the connection_info_post.sh script. ===================== TEMPLATE /usr/local/directadmin/data/templates/load_check_message.txt has new token; |CONN_INFO| just below the |TOP|, to be filled with the output from the connection_info.sh script. T11709

Interested to try DirectAdmin? Get a 30-day Free Trial!