NOTE: New Relic Servers and Legacy Alerts are going away on or before May 15, 2018. Check out our post in the Online Technical Community for more information.

Upgrading the agent (New Relic Servers for Linux)

Deprecated

For the latest, most advanced host monitoring, check out New Relic Infrastructure.

Follow the procedure appropriate for your operating system.

After upgrading, restart the daemon to pick up configuration changes:

/etc/init.d/newrelic-sysmond restart

Upgrading on RedHat, CentOS, Fedora

If you are using RedHat, CentOS, or Fedora, follow these procedures for using yum or for using an .rpm file.

Method Directions
yum

To work directly with the New Relic repositories, run the following command:

yum update newrelic-sysmond
.rpm file
  1. Navigate to the appropriate URL for your architecture and copy the URL for the latest newrelic-sysmond package:

  2. Run this wget command to download the package, replacing https://LINK_TO_PACKAGE with the full URL of the package:

    wget -L https://LINK_TO_PACKAGE
  3. Run the appropriate upgrade command as root, replacing X.X.X.X with the current version:

    32-bit:

    rpm -U newrelic-sysmond-X.X.X.X-1.i386.rpm

    64-bit:

    rpm -U newrelic-sysmond-X.X.X.X-1.x86_64.rpm

When upgrading from a version < 2.0.1 you may experience a "race condition" with a concurrent execution, which will stop the server agent. If this occurs, you must do a one-time manual restart of the server agent.

Upgrading on Debian or Ubuntu

If you are using Debian or Ubuntu, follow these procedures for using .apt or for using a .deb file.

Method Directions
.apt

To work directly with the New Relic repositories, run the following commands as root:

apt-get update
apt-get install newrelic-sysmond

The newrelic-sysmond package will also be upgraded as part of a standard apt-get upgrade or apt-get dist-upgrade.

.deb file (dpkg)
  1. Navigate to the appropriate URL for your architecture and copy the URL for the latest newrelic-sysmond package:

  2. Run this wget command to download the package, replacing https://LINK_TO_PACKAGE with the full URL of the package:

    wget -L https://LINK_TO_PACKAGE
  3. Run the appropriate upgrade command as root, replacing X.X.X.X with the current version:

    32-bit:

    dpkg -i newrelic-sysmond_X.X.X.X_i386.deb

    64-bit:

    dpkg -i newrelic-sysmond_X.X.X.X_amd64.deb

Upgrading on Joyent SmartOS

If you are using Joyent SmartOS, follow these procedures.

Method Directions
pkgin (Joyent)

To update via the Joyent pkgsrc repositories, run the following commands as root:

pkgin -fy update
pkgin in nrsysmond
svcadm restart pkgsrc/nrsysmond

The nrsysmond package will also be upgraded as part of a standard pkgin upgrade or pkgin full-upgrade.

For more help

Additional documentation resources include:

Discuss New Relic Servers in the New Relic Online Technical Community! Troubleshoot and ask questions, or discuss Servers for Linux or Servers for Windows in detail.

If you need additional help, get support at support.newrelic.com.