You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`--api-cert`|`NMS_API_CERT`| Specifies the certificate used by the Agent API. |
164
-
|`--api-host`|`NMS_API_HOST`| Sets the host used by the Agent API. Default: *127.0.0.1*|
165
-
|`--api-key`|`NMS_API_KEY`| Specifies the key used by the Agent API. |
166
-
|`--api-port`|`NMS_API_PORT`| Sets the port for exposing nginx-agent to HTTP traffic. |
167
-
|`--config-dirs`|`NMS_CONFIG_DIRS`| Defines directories NGINX Agent can read/write. Default: *"/etc/nginx:/usr/local/etc/nginx:/usr/share/nginx/modules:/etc/nms"*|
168
-
|`--dataplane-report-interval`|`NMS_DATAPLANE_REPORT_INTERVAL`| Sets the interval for dataplane reporting. Default: *24h0m0s*|
169
-
|`--dataplane-status-poll-interval`|`NMS_DATAPLANE_STATUS_POLL_INTERVAL`| Sets the interval for polling dataplane status. Default: *30s*|
170
-
|`--display-name`|`NMS_DISPLAY_NAME`| Sets the instance's display name. |
171
-
|`--dynamic-config-path`|`NMS_DYNAMIC_CONFIG_PATH`| Specifies the path of the Agent dynamic config file. Default: *"/var/lib/nginx-agent/agent-dynamic.conf"*|
172
-
|`--features`|`NMS_FEATURES`| Specifies a comma-separated list of features enabled for the agent. Default: *[registration, nginx-config-async, nginx-ssl-config, nginx-counting, metrics, dataplane-status, process-watcher, file-watcher, activity-events, agent-api]*|
163
+
|`--api-cert`|`NGINX_AGENT_API_CERT`| Specifies the certificate used by the Agent API. |
164
+
|`--api-host`|`NGINX_AGENT_API_HOST`| Sets the host used by the Agent API. Default: *127.0.0.1*|
165
+
|`--api-key`|`NGINX_AGENT_API_KEY`| Specifies the key used by the Agent API. |
166
+
|`--api-port`|`NGINX_AGENT_API_PORT`| Sets the port for exposing nginx-agent to HTTP traffic. |
167
+
|`--config-dirs`|`NGINX_AGENT_CONFIG_DIRS`| Defines directories NGINX Agent can read/write. Default: *"/etc/nginx:/usr/local/etc/nginx:/usr/share/nginx/modules:/etc/nms"*|
168
+
|`--dataplane-report-interval`|`NGINX_AGENT_DATAPLANE_REPORT_INTERVAL`| Sets the interval for dataplane reporting. Default: *24h0m0s*|
169
+
|`--dataplane-status-poll-interval`|`NGINX_AGENT_DATAPLANE_STATUS_POLL_INTERVAL`| Sets the interval for polling dataplane status. Default: *30s*|
170
+
|`--display-name`|`NGINX_AGENT_DISPLAY_NAME`| Sets the instance's display name. |
171
+
|`--dynamic-config-path`|`NGINX_AGENT_DYNAMIC_CONFIG_PATH`| Specifies the path of the Agent dynamic config file. Default: *"/var/lib/nginx-agent/agent-dynamic.conf"*|
172
+
|`--features`|`NGINX_AGENT_FEATURES`| Specifies a comma-separated list of features enabled for the agent. Default: *[registration, nginx-config-async, nginx-ssl-config, nginx-counting, metrics, dataplane-status, process-watcher, file-watcher, activity-events, agent-api]*|
173
173
|`--ignore-directives`|| Specifies a comma-separated list of directives to ignore for sensitive info.|
174
-
|`--instance-group`|`NMS_INSTANCE_GROUP`| Sets the instance's group value. |
|`--log-path`|`NGINX_AGENT_LOG_PATH`| Specifies the path to output log messages. |
177
+
|`--metrics-bulk-size`|`NGINX_AGENT_METRICS_BULK_SIZE`| Specifies the number of metrics reports collected before sending data. Default: *20*|
178
+
|`--metrics-collection-interval`|`NGINX_AGENT_METRICS_COLLECTION_INTERVAL`| Sets the interval for metrics collection. Default: *15s*|
179
+
|`--metrics-mode`|`NGINX_AGENT_METRICS_MODE`| Sets the metrics collection mode: streaming or aggregation. Default: *aggregated*|
180
+
|`--metrics-report-interval`|`NGINX_AGENT_METRICS_REPORT_INTERVAL`| Sets the interval for reporting collected metrics. Default: *1m0s*|
181
181
|`--nginx-config-reload-monitoring-period`|| Sets the duration to monitor error logs after an NGINX reload. Default: *10s*|
182
-
|`--nginx-exclude-logs`|`NMS_NGINX_EXCLUDE_LOGS`| Specifies paths of NGINX access logs to exclude from metrics collection. |
183
-
|`--nginx-socket`|`NMS_NGINX_SOCKET`| Specifies the location of the NGINX Plus counting Unix socket. Default: *unix:/var/run/nginx-agent/nginx.sock*|
184
-
|`--nginx-treat-warnings-as-errors`|`NMS_NGINX_TREAT_WARNINGS_AS_ERRORS`| Treats warnings as failures on configuration application. |
185
-
|`--queue-size`|`NMS_QUEUE_SIZE`| Specifies the size of the NGINX Agent internal queue. |
182
+
|`--nginx-exclude-logs`|`NGINX_AGENT_NGINX_EXCLUDE_LOGS`| Specifies paths of NGINX access logs to exclude from metrics collection. |
183
+
|`--nginx-socket`|`NGINX_AGENT_NGINX_SOCKET`| Specifies the location of the NGINX Plus counting Unix socket. Default: *unix:/var/run/nginx-agent/nginx.sock*|
184
+
|`--nginx-treat-warnings-as-errors`|`NGINX_AGENT_NGINX_TREAT_WARNINGS_AS_ERRORS`| Treats warnings as failures on configuration application. |
185
+
|`--queue-size`|`NGINX_AGENT_QUEUE_SIZE`| Specifies the size of the NGINX Agent internal queue. |
186
186
|`--server-command`|| Specifies the name of the command server sent in the TLS configuration. |
187
-
|`--server-grpcport`|`NMS_SERVER_GRPCPORT`| Sets the desired GRPC port for NGINX Agent traffic. |
188
-
|`--server-host`|`NMS_SERVER_HOST`| Specifies the IP address of the server host. |
187
+
|`--server-grpcport`|`NGINX_AGENT_SERVER_GRPCPORT`| Sets the desired GRPC port for NGINX Agent traffic. |
188
+
|`--server-host`|`NGINX_AGENT_SERVER_HOST`| Specifies the IP address of the server host. |
189
189
|`--server-metrics`|| Specifies the name of the metrics server sent in the TLS configuration. |
190
-
|`--server-token`|`NMS_SERVER_TOKEN`| Sets the authentication token for accessing the commander and metrics services. Default: *e202f883-54c6-4702-be15-3ba6e507879a*|
191
-
|`--tags`|`NMS_TAGS`| Specifies a comma-separated list of tags for the instance or machine. |
192
-
|`--tls-ca`|`NMS_TLS_CA`| Specifies the path to the CA certificate file for TLS. |
193
-
|`--tls-cert`|`NMS_TLS_CERT`| Specifies the path to the certificate file for TLS. |
194
-
|`--tls-enable`|`NMS_TLS_ENABLE`| Enables TLS for secure communications. |
195
-
|`--tls-key`|`NMS_TLS_KEY`| Specifies the path to the certificate key file for TLS. |
196
-
|`--tls-skip-verify`|`NMS_TLS_SKIP_VERIFY`| Insecurely skips verification for gRPC TLS credentials. |
190
+
|`--server-token`|`NGINX_AGENT_SERVER_TOKEN`| Sets the authentication token for accessing the commander and metrics services. Default: *e202f883-54c6-4702-be15-3ba6e507879a*|
191
+
|`--tags`|`NGINX_AGENT_TAGS`| Specifies a comma-separated list of tags for the instance or machine. |
192
+
|`--tls-ca`|`NGINX_AGENT_TLS_CA`| Specifies the path to the CA certificate file for TLS. |
193
+
|`--tls-cert`|`NGINX_AGENT_TLS_CERT`| Specifies the path to the certificate file for TLS. |
194
+
|`--tls-enable`|`NGINX_AGENT_TLS_ENABLE`| Enables TLS for secure communications. |
195
+
|`--tls-key`|`NGINX_AGENT_TLS_KEY`| Specifies the path to the certificate key file for TLS. |
196
+
|`--tls-skip-verify`|`NGINX_AGENT_TLS_SKIP_VERIFY`| Insecurely skips verification for gRPC TLS credentials. |
197
197
{{</bootstrap-table>}}
198
+
{{< warning >}}The environment prefix NMS has been deprecated in favour of NGINX_AGENT{{< /warning >}}
0 commit comments