dev

Setup NGINX with nginx-vts#

docker run \
--name nginxvts \
-d \
-p 80:80/tcp \
xcgd/nginx-vts:1.16.1-0.1.18
  • Add vhost_traffic_status_zone; to the /etc/nginx/nginx.conf
...
http {
vhost_traffic_status_zone;
...
  • Add to the /etc/nginx/conf.d/default.conf
server {
...
location /status {
vhost_traffic_status_display;
vhost_traffic_status_display_format html;
}
  • Restart the docker container
docker restart nginxvts

Gather metrics#

See nginx-vts module readme for metrics description.

curl http://127.0.0.1/status/format/json
Last updated on

Monitor everything in real time โ€“ for free

Troubleshoot slowdowns and anomalies in your infrastructure with thousands of per-second metrics, meaningful visualizations, and insightful health alarms with zero configuration.

Get Netdata