Update Infrastructure on-host integrations

The Infrastructure on-host integrations do not update themselves automatically. To update them, use your package manager to update the programs and their dependencies to the latest version. It's recommended you keep both the New Relic Infrastructure agent and the integration files up to date.

Find on-host integration versions

Use either of these options to check whether your Infrastructure on-host integration is up to date:

Option Comments
Infrastructure UI

To use the Infrastructure UI to check for on-host integrations versions:

  1. Go to infrastructure.newrelic.com > Inventory.
  2. In the search bar, type the name of the integration file that was installed (for example, nri-cassandra or ​newrelic-infra-integrations).
  3. Select the relevant dropdown to see the agent versions.
Server

To manually check for on-host integration versions, connect to a server. Then, run the command for your distribution, using the integration's file name (for example, nri-cassandra or ​newrelic-infra-integrations):

  • Debian or Ubuntu:

    dpkg -l | grep INTEGRATION_FILE_NAME
  • Amazon Linux, CentOS, SLES, or RHEL:

    rpm -qa | grep INTEGRATION_FILE_NAME

To find the file name for a specific integration, see the integration documentation.

Update using apt (Debian or Ubuntu)

Recommendation: Update the Infrastructure agent (version 1.0.703 or higher). Then, to update the on-host integration using apt-get:

  1. From the command line, run:

    sudo apt-get update
  2. Run this command using the integration file name (for example, nri-cassandra or newrelic-infra-integrations):

    sudo apt-get install --only-upgrade INTEGRATION_FILE_NAME
  3. Restart the Infrastructure agent.

Update using yum (Amazon Linux, CentOS, or RHEL)

Recommendation: Update the Infrastructure agent (version 1.0.703 or higher). Then, to update the on-host integration using yum:

  1. From the command line, run this command using the integration file name (for example, nri-cassandra or newrelic-infra-integrations):

    sudo yum update INTEGRATION_FILE_NAME -y
  2. Restart the Infrastructure agent.

Update using Zypper (SLES)

Recommendation: Update the Infrastructure agent (version 1.0.703 or higher). Then, to update the on-host integration using Zypper:

  1. From the command line, run this command using the integration file name (for example, nri-cassandra or newrelic-infra-integrations):

    sudo zypper update INTEGRATION_FILE_NAME -y
  2. Restart the Infrastructure agent.

For more help

Recommendations for learning more: