# Review and configure features Type of document: How-to guide Product: NGINX Agent --- ## Overview 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. ## Before you begin Before you start, make sure that you have: - [NGINX Agent installed](/nginx-one-console/agent/install-upgrade/) in your system. - Access to the NGINX Agent configuration file, CLI, or container environment. ## Features The following table lists the NGINX Agent 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 | ## Configuration sources You can enable or disable features using several configuration sources: ### CLI parameters Enable features at launch: ```shell ./nginx-agent --features=configuration,metrics,file-watcher ``` ### Environment variables Use environment variables for containerized deployments: ```shell export NGINX_AGENT_FEATURES="configuration,metrics,file-watcher" ``` ### Configuration file Define features in the `nginx-agent.conf` file: ```yaml features: - configuration - metrics - file-watcher ``` ## Use cases ### Enable metrics only 1. Access the NGINX instance: Connect using SSH to the VM or server where NGINX Agent is running. `ssh user@your-nginx-instance` 1. Open the NGINX Agent configuration file in a text editor. `sudo vim /etc/nginx-agent/nginx-agent.conf` 1. Add the features section: Add the following to the end of the configuration file if it doesn't already exist. ```yaml features: - metrics ``` 1. Restart the NGINX Agent service to apply the changes. `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.