Monit:开源服务器监控工具
if failed port 80 protocol http and status = 200 for 3 cycles then restart #alert xxx@xxx #可以单独设置新的通知者 #alert xxx@xxx if failed port 80 protocol http request "/Api/Login/Get_Userinfo/" and status = 200 for 3 cycles then restart 监听TCP /etc/monit.d/tcp check host dev_xxx_swoole_xxx address xxx start program = "/usr/local/php/bin/php Server.php" with...阅读全文