Nginx

Grafana Dashboard for Nginx Web Server.

Nginx screenshot 1
Nginx screenshot 2
Nginx screenshot 3
Nginx screenshot 4
Nginx screenshot 5

Dashboard for Nginx Web Server.

Dependencies

  • Change the permission of the log file. Usually access log file can be found at /var/log/nginx/access/log. You can also find the path of the access log file in nginx.conf(Nginx Configuration file) file. Provide the path in the tail plugin of Telegraf.
  • Enable the sub status module in Nginx, and add the following virtual host config in Nginx Web Server
server {
	listen 81 default_server;
	listen [::]:81 default_server;

	root /var/www/html;
	index index.html index.htm index.nginx-debian.html;

	server_name _;

	location / {
		try_files $uri $uri/ =404;
	}

	location /nginx_status {
        	stub_status;
        	allow 127.0.0.1;
        	deny all;
        }
}

Following the metrics monitor through the dashboard

  • CPU Usage
  • Current CPU Utilization %
  • Current Memory Utilization
  • Network Input
  • Network Ouput
  • Response 2XX / 5m
  • Total Response 200 Req. [24h]
  • Response 4XX /5m
  • Total Response 404 Req. [24h]
  • Response 3XX
  • Response 5XX
  • Total Request 503 Resonse
  • Nginx Connections Accepted
  • Nginx Writing
  • Nginx Active Connections[accepted]
  • Nginx Waiting Connections
  • Handled Request
  • Nginx Requests
  • nginx_reading
  • Each Request Detail

Contributor Information

kirti.nehra@opstree.com

Revisions
RevisionDescriptionCreated
NGINX

NGINX

by Grafana Labs
Grafana Labs solution

Easily monitor NGINX, an open source software for web serving, reverse proxying, caching, load balancing, media streaming, and more, with Grafana Cloud's out-of-the-box monitoring solution.

Learn more

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies