Description
It gathers performance metrics about Nginx web server.
Features:
- Requests received per second
- Connections received per second
- Number of nginx processes
- Number of active connections
- Accepted connections per second
- Number of requests in each state: waiting, reading, writing
Requirements
Nginxversion >=1.7Nginxstatus module must be enabled.
Setup
- Enable status module adding this
locationto your nginx vhost configuration. Thelocationblock should be inside theserverblock of your site.
server
- Verify and restart
nginx
$ sudo nginx -t
$ sudo service nginx restart