• /
  • EnglishEspañolFrançais日本語한국어Português
  • ログイン今すぐ開始

Instrument your systems with Agent Control

|View as Markdown (English)

Instrument a clean system

ヒント

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

  1. Create a fleet of type Kubernetes Cluster in Fleet Control. See Create your first fleet for detailed steps.

  2. Install Agent Control. Follow the Kubernetes installation guide and select the fleet you created in Step 1.

  3. 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:

  4. 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.

  5. 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

  1. Create a fleet of type Linux Host in Fleet Control. See Create your first fleet for detailed steps.

  2. Install Agent Control. Follow the Linux installation guide and select the fleet you created in Step 1.

  3. 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:

  4. 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.

  5. 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

  1. Create a fleet of type Windows Host in Fleet Control. See Create your first fleet for detailed steps.

  2. Install Agent Control. Follow the Windows installation guide and select the fleet you created in Step 1.

  3. 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:

  4. 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.

  5. 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

重要

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:

  1. 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.
  2. Uninstall the existing agent. Agent Control cannot coexist with a standalone agent installation of the same type.
  3. Install Agent Control and connect to a fleet. Follow the platform-specific installation guide and select an existing fleet or create a new one.
  4. 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, and kube-state-metrics: managed as the Infrastructure agent type
  • newrelic-prometheus-configurator: managed as the Prometheus agent type
  • newrelic-logging: managed as the Fluent Bit agent type
  • nr-k8s-otel-collector: managed as the OpenTelemetry Collector agent type
  1. 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.

  2. 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 newrelic
  3. Install 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.yaml
  4. 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.

  5. 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.

  6. 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

重要

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.

  1. 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.

  2. Uninstall the existing Infrastructure Agent

    bash
    $
    sudo apt-get remove newrelic-infra -y
    bash
    $
    sudo zypper -n remove newrelic-infra
    bash
    $
    sudo yum remove newrelic-infra -y
  3. Install Agent Control. Follow the Linux installation guide. Ensure you select or create a fleet of type Host - Linux.

  4. 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.

  5. 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.

  6. 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

重要

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.

  1. 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.

  2. 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 Programs
    msiexec /x {PRODUCT_CODE} /quiet
  3. Install Agent Control. Follow the Windows installation guide. Ensure you select or create a fleet of type Host - Windows.

  4. 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.

  5. 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.

  6. 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.

Copyright © 2026 New Relic株式会社。

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.