Skip to content

Commit 4dd8940

Browse files
authored
Merge branch 'main' into dependabot/github_actions/github/codeql-action-3.30.6
2 parents 231e887 + 4594595 commit 4dd8940

File tree

3 files changed

+114
-9
lines changed

3 files changed

+114
-9
lines changed

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
pull-requests: write # for actions/stale to close stale PRs
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/stale@v10.0.0
21+
- uses: actions/stale@v10.1.0
2222
with:
2323
repo-token: ${{ secrets.GITHUB_TOKEN }}
2424
stale-issue-message: 'This issue is stale because it has been open for 90 days with no activity. Remove the stale label or add a comment to keep it open. If you do not take action, this will be closed in 10 days.'
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
---
2+
title: Review and configure features
3+
weight: 350
4+
toc: true
5+
nd-docs: DOCS-000
6+
nd-content-type: how-to
7+
---
8+
9+
## Overview
10+
11+
This guide describes the F5 NGINX Agent features, and how to enable and disable them using the NGINX Agent configuration file, CLI flags, environment variables, and gRPC updates.
12+
13+
## Before you begin
14+
15+
Before you start, make sure that you have:
16+
17+
- [NGINX Agent installed]({{< ref "/nginx-one/agent/install-upgrade/" >}}) in your system.
18+
- Access to the NGINX Agent configuration file, CLI, or container environment.
19+
20+
## Features
21+
22+
The following table lists the NGINX Agent features:
23+
24+
{{< table "features" >}}
25+
| Feature Name | Description | Default |
26+
| ------------------- | --------------------------------------------------------------------------- | ------- |
27+
| configuration | Full read/write management of configurations, controlled by DataPlaneConfig ConfigMode. | On |
28+
| certificates | Inclusion of public keys and other certificates in the configurations toggled by DataPlaneConfig CertMode | Off |
29+
| file-watcher | Monitoring of file changes in the allowed directories list and references from product configs. | On |
30+
| metrics | Full metrics reporting. | On |
31+
| > metrics-host | Host-level metrics (cpu, disk, load, fs, memory, network, paging). | On |
32+
| > metrics-container | Container-level metrics from cgroup information. | On |
33+
| > metrics-instance | OSS and Plus metrics depending on NGINX instance. | On |
34+
| logs | Collection and reporting of NGINX error logs. | Off |
35+
| > logs-nap | F5 WAF for NGINX logs. | Off |
36+
{{< /table >}}
37+
38+
## Configuration sources
39+
40+
You can enable or disable features using several configuration sources:
41+
42+
### CLI parameters
43+
44+
Enable features at launch:
45+
46+
```shell
47+
./nginx-agent --features=configuration,metrics,file-watcher
48+
```
49+
50+
### Environment variables
51+
52+
Use environment variables for containerized deployments:
53+
54+
```shell
55+
export NGINX_AGENT_FEATURES="configuration,metrics,file-watcher"
56+
```
57+
58+
### Configuration file
59+
60+
Define features in the `nginx-agent.conf` file:
61+
62+
```yaml
63+
features:
64+
- configuration
65+
- metrics
66+
- file-watcher
67+
```
68+
69+
## Use cases
70+
71+
### Enable metrics only
72+
73+
1. Access the NGINX instance: Connect using SSH to the VM or server where NGINX Agent is running.
74+
75+
`ssh user@your-nginx-instance`
76+
77+
1. Open the NGINX Agent configuration file in a text editor.
78+
79+
`sudo vim /etc/nginx-agent/nginx-agent.conf`
80+
81+
1. Add the features section: Add the following to the end of the configuration file if it doesn't already exist.
82+
83+
```yaml
84+
features:
85+
- metrics
86+
- metrics-host
87+
- metrics-container
88+
- metrics-instance
89+
```
90+
91+
1. Restart the NGINX Agent service to apply the changes.
92+
93+
`sudo systemctl restart nginx-agent`
94+
95+
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.
96+

content/nginx/technical-specs.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,27 @@ NGINX Plus is available only as a binary; it is not distributed as source code.
2323
Dynamic modules are supported on the [same distributions as NGINX Plus](#supported-distributions), unless noted otherwise in the table below.
2424

2525
{{<bootstrap-table "table table-striped table-bordered">}}
26-
| Module | Distribution and details |
27-
|-------------------|-----------------------------------------------------------------------------------------------------------|
28-
| [AppProtect]({{< ref "/nap-waf/v5/admin-guide/install.md" >}}) | AlmaLinux: **Not supported**<br>Alpine Linux 3.17 & 3.18: **Not supported**<br>Alpine Linux 3.19: **x86_64 only**<br>Amazon Linux 2: **Not supported**<br>Amazon Linux 2023: **x86_64 only**<br>Debian 11 & 12: **x86_64 only**<br>FreeBSD: **Not supported**<br>Oracle Linux 8: **x86_64 only**<br>RHEL 8 & 9: **x86_64 only**<br>Rocky Linux 8: **Not supported**<br>Rocky Linux 9: **x86_64 only**<br>SLES: **Not supported**<br>Ubuntu 20.04: **Not supported**<br>Ubuntu 22.04 & 24.04: **x86_64 only** |
29-
| [GeoIP]({{< ref "/nginx/admin-guide/dynamic-modules/geoip.md" >}}) | Amazon Linux 2023 **Not supported**<br>RHEL/Oracle Linux/AlmaLinux/Rocky Linux 8.0+, 9, RHEL 10: **Not supported**<br>FreeBSD: **Not supported** |
30-
| [GeoIP2]({{< ref "/nginx/admin-guide/dynamic-modules/geoip2.md" >}}) | Amazon Linux 2: **Not supported** |
31-
| [HA-Keepalived]({{< ref "/nginx/admin-guide/high-availability/ha-keepalived-nodes.md#configuring-keepalived-for-an-additional-passive-node" >}}) | FreeBSD: **Not supported**<br>Alpine Linux: **Not supported**<br>Amazon Linux 2: **Not supported**<br>Amazon Linux 2023: **Not supported** |
32-
| [NGINX sync]({{< ref "/nginx/admin-guide/high-availability/configuration-sharing.md#installing-nginx-sync-on-the-primary-machine" >}}) | FreeBSD: **Not supported**<br>Alpine Linux: **Not supported** |
33-
| [OpenTelemetry]({{< ref "/nginx/admin-guide/dynamic-modules/opentelemetry.md" >}})| Amazon Linux 2: **Not supported**<br>SLES: **Not supported** | |
26+
| Distribution | **Module:** [AppProtect]({{< ref "/nap-waf/v5/admin-guide/install.md" >}}) | **Module:** [GeoIP]({{< ref "/nginx/admin-guide/dynamic-modules/geoip.md" >}}) | **Module:** [GeoIP2]({{< ref "/nginx/admin-guide/dynamic-modules/geoip2.md" >}}) | **Module:** [HA-Keepalived]({{< ref "/nginx/admin-guide/high-availability/ha-keepalived-nodes.md#configuring-keepalived-for-an-additional-passive-node" >}}) | **Module:** [NGINX sync]({{< ref "/nginx/admin-guide/high-availability/configuration-sharing.md#installing-nginx-sync-on-the-primary-machine" >}}) | **Module:** [OpenTelemetry]({{< ref "/nginx/admin-guide/dynamic-modules/opentelemetry.md" >}}) |
27+
|--------------|------------|-------|---------|---------------|------------|---------------|
28+
| **AlmaLinux** |||||||
29+
| **Alpine Linux 3.17 & 3.18** |||||||
30+
| **Alpine Linux 3.19, 3.20, 3.21, 3.22** | ✓ (x86_64 only) ||||||
31+
| **Amazon Linux 2** |||||||
32+
| **Amazon Linux 2023** | ✓ (x86_64 only) ||||||
33+
| **Debian 11 & 12** | ✓ (x86_64 only) ||||||
34+
| **FreeBSD** |||||||
35+
| **Oracle Linux 8** | ✓ (x86_64 only) ||||||
36+
| **RHEL 8 & 9** | ✓ (x86_64 only) ||||||
37+
| **Rocky Linux 8** |||||||
38+
| **Rocky Linux 9** | ✓ (x86_64 only) ||||||
39+
| **SLES** |||||||
40+
| **Ubuntu 20.04** |||||||
41+
| **Ubuntu 22.04 & 24.04** | ✓ (x86_64 only) ||||||
3442
{{</bootstrap-table>}}
3543

3644
---
3745

46+
3847
## Supported SSL/TLS versions
3948

4049
NGINX Plus supports the following SSL/TLS protocols:

0 commit comments

Comments
 (0)