← All dashboards

Nginx Stats

Nginx Stats Dashboard using CollectD and Graphite

Basic Nginx Stats Dashboard.

Metrics shown

  • Requests/s
  • Connection state breakdown
  • Connections handled vs accepted

Configure Nginx

You need to enable stub_status module in a location to make metrics available for collectd.

location /nginx_status {
    stub_status on;
    access_log off;
    allow 127.0.0.1;
    deny all;
}

Configure CollectD

The relevant parts for this dashboard is

LoadPlugin nginx
<Plugin "nginx">
    URL "http://localhost:8080/nginx_status"
</Plugin>

Metric Prefix

When you import the dasbhoard you will have to specify your collectd metric prefix, this is by defauilt just collectd. The dashboard assumes the following metric structure $prefix.$server.nginx.... So if you have a non standard collectd prefix like prod.cacheservers then specify that in the prefix field when you import the dashboard. During import when you specify the prefix do not include the last dot (.).

Make this dashboard better

For feedback and ideas to improve this dashboard please open an issue here: https://github.com/torkelo/dashboards

Dashboard revisions

RevisionDecscriptionCreated

Reviews

Login or Sign up to write a review

Reviews from the community

Get this dashboard

Data source:

Dependencies:

Import the dashboard template:

or

Download JSON

Docs: Importing dashboards

Downloads: 3,818