Tengine新增健康检查模块

 

 

 

 

 

 

 

 

 

 

 

 

总结css

2.tengine的状态监控

Tengine的状态监控有两种nginx

 

 

这里演示一个健康检查模块功能tomcat

配置一个status的locationjsp

location /status {spa

            check_status;日志

 

        }blog

在upstream配置以下io

check interval=3000 rise=2 fall=5 timeout=1000 type=http;监控

check_http_send "HEAD / HTTP/1.0\r\n\r\n";stream

check_http_expect_alive http_2xx http_3xx;

 

这里能够故意出个问题,修改tomcat里面的index.jsp而后head里面有个引用css文件,会致使遵循轮询的机制出问题,能够经过nginx的acess的日志查看。

相关文章
相关标签/搜索