• EnglishEspañol日本語한국어Português
  • Log inStart now

NGINX integration's configuration settings

This integration is open source software. That means you can browse its source code and send improvements, or create your own fork and build it.

NGINX instance settings

The NGINX integration collects both Metrics and Inventory information. Check the Applies to column below to find which settings can be used for each specific collection:

Setting

Description

Default

Applies to

STATUS_URL

The URL set up to provide the metrics using the status module.

http://127.0.0.1/status

Metrics/Inventory

STATUS_MODULE

Name of NGINX status module.
Valid options are:

  • discover
  • ngx_http_stub_status_module
  • ngx_http_status_module
  • ngx_http_api_module

discover

Metrics

CONNECTION_TIMEOUT

Connection timeout to the NGINX instance in seconds.

5

Metrics

VALIDATE_CERTS

Set to false if the status URL is HTTPS with a self-signed certificate.

true

Metrics

CONFIG_PATH

The path to the NGINX configuration file.

N/A

Inventory

REMOTE_MONITORING

Enable multi-tenancy monitoring.

Read more about remote monitoring.

true

Metrics/Inventory

METRICS

Set to true to enable Metrics only collection.

false

INVENTORY

Set to true to enable Inventory only collection.

false

The values for these settings can be defined in several ways:

  • Adding the value directly in the config file. This is the most common way.

  • Replacing the values from environment variables using the {{ }} notation. Read more about using environment variable passthroughs with on-host integrations or see the example for environment variables replacement.

    Important

    This requires infrastructure agent v1.14.0+.

  • Using secrets management. Use this to protect sensitive information, such as passwords that would be exposed in plain text on the configuration file. For more information, see secrets management.

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.