Instrument a clean system
Dica
Agent Control is a supervisor service, it does not collect or send telemetry by itself. To see data in New Relic, you must deploy agents (such as the Infrastructure Agent or NRDOT) through Fleet Control after installing Agent Control.
Kubernetes
Create a fleet of type Kubernetes Cluster in Fleet Control. See Create your first fleet for detailed steps.
Install Agent Control. Follow the Kubernetes installation guide and select the fleet you created in Step 1.
Create configurations in Fleet Control for each of your agents. After Agent Control connects to Fleet Control, create configurations for each of your agents. Fleet Control is the authoritative source for all agent configuration, do not add agent-specific values to the local
values.yaml.Example adding the Infrastructure Agent, Fluent Bit, Prometheus, and NRDOT with custom settings, each of these configurations should be created as a separate remote configuration in Fleet Control:
Create a new deployment adding the just-created remote configurations to your fleet. Agent Control will automatically apply the new configuration to your cluster. Follow these steps in create and run your first deployment.
Verify data is flowing. Navigate to Infrastructure > Kubernetes in the New Relic UI. Your cluster should appear within 1–2 minutes of the remote configuration being applied. If it does not appear, see Agent Control troubleshooting.
Linux
Create a fleet of type Linux Host in Fleet Control. See Create your first fleet for detailed steps.
Install Agent Control. Follow the Linux installation guide and select the fleet you created in Step 1.
Create configurations in Fleet Control for each of your agents. After Agent Control connects to Fleet Control, create configurations for each of your agents.
Example adding the Infrastructure Agent, nri-mysql, nri-flex, fluentbit and nrdot, each of these configurations should be created as a separate remote configuration in Fleet Control:
Create a new deployment adding the just-created remote configurations to your fleet. Agent Control will automatically apply the new configuration to your host, download and install the OCI packages for each of the agents. Follow these steps in create and run your first deployment.
Verify data is flowing. Navigate to Infrastructure > Hosts in the New Relic UI. Your host should appear within 1–2 minutes. If it does not appear, see Agent Control troubleshooting.
Windows
Create a fleet of type Windows Host in Fleet Control. See Create your first fleet for detailed steps.
Install Agent Control. Follow the Windows installation guide and select the fleet you created in Step 1.
Create configurations in Fleet Control for each of your agents. After Agent Control connects to Fleet Control, create configurations for each of your agents.
Example adding the Infrastructure Agent, nri-mysql, nri-flex, fluentbit and nrdot, each of these configurations should be created as a separate remote configuration in Fleet Control:
Create a new deployment adding the just-created remote configurations to your fleet. Agent Control will automatically apply the new configuration to your host, download and install the OCI packages for each of the agents. Follow these steps in create and run your first deployment.
Verify data is flowing. Navigate to Infrastructure > Hosts in the New Relic UI. Your host should appear within 1–2 minutes. If it does not appear, see Agent Control troubleshooting.
Migrate a previously instrumented system
Importante
Agent Control does not support automatic migration of existing agents. Migration is always a manual process: uninstall the existing agent, install Agent Control, then recreate your configuration as a Fleet Control remote configuration.
General migration process
Regardless of platform, the migration follows these four steps:
- Note your existing configuration. Save a copy of all agent config files and integration configs before uninstalling anything. You will recreate them as Fleet Control remote configurations.
- Uninstall the existing agent. Agent Control cannot coexist with a standalone agent installation of the same type.
- Install Agent Control and connect to a fleet. Follow the platform-specific installation guide and select an existing fleet or create a new one.
- Recreate your configuration in Fleet Control. Create a remote configuration for your fleet with your previous settings. Agent Control will apply it automatically.
Remote configuration always wins
Fleet Control is the authoritative source for agent configuration. Any agent settings, versions, chart values, and resource limits, must be defined in the Fleet Control remote configuration, not in the local installation file. If both exist, the remote configuration takes precedence and will override any local values.
Best practices
To ensure data continuity, use the same entity name (cluster name or hostname) and the same New Relic account during Agent Control installation. You can leave any agents or components not yet supported by Agent Control in place until support is available.
Kubernetes
If your Kubernetes cluster is already instrumented with New Relic, you can transition your agents to be managed by Agent Control. The migration process removes existing agent installs and replaces them with Agent Control-managed installs, configured centrally through Fleet Control.
Agent Control can deploy and manage the following agents from the nri-bundle Helm chart:
newrelic-infrastructure,nri-kube-events, andkube-state-metrics: managed as the Infrastructure agent typenewrelic-prometheus-configurator: managed as the Prometheus agent typenewrelic-logging: managed as the Fluent Bit agent typenr-k8s-otel-collector: managed as the OpenTelemetry Collector agent type
Retrieve your existing configuration. If you installed agents using Helm, retrieve your installation config from the cluster:
bash$# Find releases in the namespace$helm list --namespace <namespace-name>$$# Get the values for a specific release$helm get values <release-name> --namespace <namespace-name>If you have the original configuration file saved from the installation, use that directly. If you instrumented the cluster via Kubernetes manifests (kubectl or Kustomize), note the options set for each agent — you will recreate them as Fleet Control remote configurations.
Uninstall your old agents. Before installing Agent Control, remove the old agents from your cluster. For a Helm installation:
bash$helm uninstall <release-name> -n <namespace>For example, to uninstall the
nri-bundle:bash$helm uninstall nri-bundle -n newrelicInstall Agent Control. Start the Agent Control guided installation and download the generated
values.yaml. This file contains only the Agent Control supervisor configuration (credentials, fleet ID, and which agent types to manage) — do not add agent-specific chart values here. Those belong in the Fleet Control remote configuration.bash$helm upgrade --install agent-control-bootstrap -n newrelic newrelic/agent-control-bootstrap --create-namespace --values my_values.yamlRecreate your agent configuration in Fleet Control. After Agent Control connects to Fleet Control, create the configurations for each of your old agents with your previous settings.
Create a new deployment adding the just-created remote configurations to your fleet. Agent Control will automatically apply the new configuration to your cluster. Follow these steps in create and run your first deployment.
Verify data is flowing. Navigate to Infrastructure > Kubernetes in the New Relic UI. Your cluster should appear within 1–2 minutes of the remote configuration being applied. If it does not appear, see Agent Control troubleshooting.
Linux
Importante
Agent Control does not support automatic migration of existing agents on Linux. If you have the New Relic Infrastructure Agent already installed on your Linux host, you must uninstall it manually before installing Agent Control. Agent Control distributes agents via OCI-compliant packages through Fleet Control — it does not replace or inherit the existing newrelic-infra package installation.
Note your existing configuration
Before uninstalling, save a copy of:
- Your agent configuration:
/etc/newrelic-infra/newrelic-infra.yml - Any on-host integration configs:
/etc/newrelic-infra/integrations.d/
You will recreate these as Fleet Control remote configurations in Step 4.
- Your agent configuration:
Uninstall the existing Infrastructure Agent
bash$sudo apt-get remove newrelic-infra -ybash$sudo zypper -n remove newrelic-infrabash$sudo yum remove newrelic-infra -yInstall Agent Control. Follow the Linux installation guide. Ensure you select or create a fleet of type Host - Linux.
Recreate your agent configuration in Fleet Control. After Agent Control connects to Fleet Control, create the configurations for each of your old agents with your previous settings. Use your saved config files from Step 1 as a reference.
Create a new deployment adding the just-created remote configurations to your fleet. Agent Control will automatically apply the new configuration to your host, download and install the OCI packages for each of the agents. Follow these steps in create and run your first deployment.
Verify data is flowing. Navigate to Infrastructure > Hosts in the New Relic UI. Your host should appear within 1–2 minutes. If it does not appear, see Agent Control troubleshooting.
Custom dashboards and alerts referencing data from the Infrastructure Agent will continue to work as long as you use the same account and host name.
Windows
Importante
Agent Control does not support automatic migration of existing agents on Windows. If you have the New Relic Infrastructure Agent already installed on your Windows host, you must uninstall it manually before installing Agent Control. APM agents are not managed by Agent Control and can remain installed.
Note your existing configuration
Before uninstalling, save a copy of:
- Your agent configuration:
C:\Program Files\New Relic\newrelic-infra\newrelic-infra.yml - Any on-host integration configs:
C:\Program Files\New Relic\newrelic-infra\integrations.d\
You will recreate these as Fleet Control remote configurations in Step 4.
- Your agent configuration:
Uninstall the existing Infrastructure Agent
Open Add or Remove Programs and uninstall the New Relic Infrastructure Agent. Alternatively, use the MSI uninstaller from PowerShell:
# Replace {PRODUCT_CODE} with the GUID from Add/Remove Programsmsiexec /x {PRODUCT_CODE} /quietInstall Agent Control. Follow the Windows installation guide. Ensure you select or create a fleet of type Host - Windows.
Recreate your agent configuration in Fleet Control. After Agent Control connects to Fleet Control, create the configurations for each of your old agents with your previous settings. Use your saved config files from Step 1 as a reference.
Create a new deployment adding the just-created remote configurations to your fleet. Agent Control will automatically apply the new configuration to your host, download and install the OCI packages for each of the agents. Follow these steps in create and run your first deployment.
Verify data is flowing. Navigate to Infrastructure > Hosts in the New Relic UI. Your host should appear within 1–2 minutes. If it does not appear, see Agent Control troubleshooting.
Custom dashboards and alerts referencing data from the Infrastructure Agent will continue to work as long as you use the same account and host name.