配置需要监控的服务器 数组定义:host_ports=(host_name=host_port=uri_path)host_name为容易识别的服务器名称host_port为服务器ip和服务端口uri_path为经济的请求路径 为脚本运行的服务器开放防火墙端口,内网ip和外网ip皆可,但要与host_port一致-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp -s 121.45.111.17 --dport 8090 -j AC…