Nginx open monitoring with-http_stub_status_module

 1, turn on monitor with-http_stub_status_module

./configure  --with-openssl=/usr/local/ssl  --with-http_stub_status_module

make & make install

 

2, see the nginx version

./nginx -V

You can see the configuration parameters have been with-http_stub_status_module

 

3, Configuration

we /usr/local/nginx/conf/nginx.conf

 

4, access abc.xxx.com/nginx_status

 

Parameter Description page

1 connections currently active: Active connections

server accepts handled requests

2 2 2

2 Total number of connection connector

2 Number of successful connection connector connection failure = (total number of connections - the number of successful connections)

2 Total number of requests processed

Reading: 0 Writing: 1 Waiting: 0

Reading: 0 reads information of the client request header Header

Writing: 1 Number of information returned to the client in response to the first header

Waiting: 0 The number of requests waiting to open a keepalive

Guess you like

Origin www.cnblogs.com/linlf03/p/11241230.html