一、添加自定義監控項目 #!/bin/bash ##擷取80端口并發連接配接數 netstat -ant |grep ':80 ' |grep -c ESTABLISHED 二、配置郵件告警 三、測試告警 四、不發郵件的問題處理