• /
  • EnglishEspañolFrançais日本語한국어Português
  • EntrarComeçar agora

Install New Relic eBPF agent for Linux hosts

You can install the New Relic eBPF agent on your Linux host to monitor your entire system health. The eBPF agent provides deep visibility into application performance without requiring code changes or deploying language-specific agents.

Install the New Relic eBPF agent

Before you begin

You must meet the prerequisites outlined in the eBPF compatibility and requirements documentation for Linux hosts.

Install the eBPF agent

To install the eBPF agent:

  1. Log in to your New Relic account.

  2. Go to left navigation pane > + Integration & Agents > eBPF Agent.

  3. On the Select an account screen, select the account you want to install the eBPF agent on, and click Continue.

  4. On the Select an installation method page, select On a host, and click Continue.

  5. On the Enter your user key screen, select one of the following options, then click Continue:

    • Use an existing key: If you already have a user key, provide the user key. For more information, refer to User keys.
    • Create a new key: If you don't have a user key, click Create a new key to create one.
  6. On the Configure the host integration screen, enter the deployment name for host, then click Continue.

  7. On the Install the agent screen, run the provided command in your terminal to install the eBPF agent via Debian package.

    1. Copy and paste the displayed command to install the eBPF agent on your Debian host.

    2. To verify the installation, run the following command:

      • For eBPF agent:

        bash
        $
        sudo systemctl status newrelic-ebpf-agent
      • For eBPF client:

        bash
        $
        sudo systemctl status newrelic-ebpf-agent-client

    Upon successful installation, the status of these services display as active (running).

    Dica

    You can customize the eBPF agent configuration by editing the newrelic-ebpf-agent.conf file available at /etc/newrelic-ebpf-agent/newrelic-ebpf-agent.conf. For more information on the configuration parameters, refer to Configuration parameters.

Access the eBPF data in New Relic

Once the eBPF agent is installed, it automatically starts collecting data from your Linux host. You can access this data in New Relic's OpenTelemetry UI. For more information on New Relic OpenTelemetry UI, refer OpenTelemetry APM UI.

To view the eBPF data in New Relic:

  1. Go to one.newrelic.com > APM & Services.
  2. In the search banner, set the search criteria as instrumentation.name = nr_ebpf: eBPF filter for eBPF data in New Relic OpenTelemetry UI

Upgrade the eBPF agent

To upgrade the eBPF agent on a Linux host, re-execute the installation command from the New Relic UI. This process will install the new agent version while automatically removing the older one.

Importante

Upgrading through a package manager is not supported. You must use the installation command from the New Relic UI for a successful upgrade.

To get the latest installation command:

  1. Go to one.newrelic.com > + Integration & Agents > eBPF Agent
  2. Follow the installation flow to get the updated command
  3. Run the command on your host to upgrade the agent

Configuration parameters

The newrelic-ebpf-agent.conf file contains the following configuration parameters:

Uninstall the eBPF agent

To uninstall the eBPF agent from a Linux host, use your system's package management tools:

bash
$
sudo apt-get remove newrelic-ebpf-agent

Dica

It is not necessary to stop the service before running the uninstall command.

eBPF Kubernetes installation

Learn how to set up the New Relic eBPF agent for your Kubernetes cluster.

Troubleshooting eBPF

Learn how to troubleshoot issues with the New Relic eBPF agent.

eBPF best practices

Learn about best practices for using the New Relic eBPF agent.

Copyright © 2025 New Relic Inc.

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