Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,18 @@ This configuration:
- Allows requests only from `127.0.0.1` (localhost).
- Blocks all other requests for security.

For more details, see the [NGINX Stub Status module documentation](https://nginx.org/en/docs/http/ngx_http_stub_status_module.html).
For more details, see the [NGINX Stub Status module documentation](https://nginx.org/en/docs/http/ngx_http_stub_status_module.html).

{{<call-out "note" "Note: NGINX Open Source Metrics" >}} For collecting metrics from NGINX Open Source, ensure that following log format is used in the NGINX configuration:

```nginx
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for" '
'"$bytes_sent" "$request_length" "$request_time" '
'"$gzip_ratio" $server_protocol ';

access_log /var/log/nginx/access.log main;
```

{{</call-out>}}
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ Before you start, make sure that you have:
The following table lists the NGINX Agent features:

{{< table "features" >}}

| Feature Name | Description | Default |
| ------------------- | --------------------------------------------------------------------------- | ------- |
| configuration | Full read/write management of configurations, controlled by DataPlaneConfig ConfigMode. | On |
| certificates | Inclusion of public keys and other certificates in the configurations toggled by DataPlaneConfig CertMode | On |
| file-watcher | Monitoring of file changes in the allowed directories list and references from product configs. | On |
| metrics | Full metrics reporting. | On
| logs-nap | F5 WAF for NGINX logs. | On |

{{< /table >}}

## Configuration sources
Expand Down Expand Up @@ -86,4 +88,3 @@ Define features in the `nginx-agent.conf` file:
`sudo systemctl restart nginx-agent`

Once the steps have been completed, users will be able to view metrics data being sent but will not have the capability to push NGINX configuration changes.