Contributors netapp-alavoie dgracenetapp

Cloud Insights uses this data collector to gather metrics from Nginx.

Installation

  1. From Admin > Data Collectors, click +Data Collector. Under Services, choose Nginx.

    Select the Operating System or Platform on which the Telegraf agent is installed.

  2. If you haven’t already installed an Agent for collection, or you wish to install an Agent for a different Operating System or Platform, click Show Instructions to expand the Agent installation instructions.

  3. Select the Agent Access Key for use with this data collector. You can add a new Agent Access Key by clicking the + Agent Access Key button. Best practice: Use a different Agent Access Key only when you want to group data collectors, for example, by OS/Platform.

  4. Follow the configuration steps to configure the data collector. The instructions vary depending on the type of Operating System or Platform you are using to collect data.

Linux Nginx Configuration
Linux Nginx Configuration

Setup

Nginx metric collection requires that Nginx http_stub_status_module be enabled.

Additional information may be found in the Nginx documentation.

Objects and Counters

The following objects and their counters are collected:

Object: Identifiers: Attributes: Datapoints:

Nginx

Namespace
Server

Node IP
Node Name
Port

Accepts
Active
Handled
Reading
Requests
Waiting
Writing

Troubleshooting

Additional information may be found from the Support page.