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
Nginx
version >=1.7
Nginx
status module must be enabled.
Setup
- Enable status module adding this
location
to your nginx vhost configuration. Thelocation
block should be inside theserver
block of your site.
server
- Verify and restart
nginx
$ sudo nginx -t
$ sudo service nginx restart