Install OneAgent on Linux

This page describes how to download and install Dynatrace OneAgent on Linux.

Then continue with the installation steps provided below.

Requirements

  • You can install OneAgent on any Linux system that's supported by Dynatrace, regardless of the packaging system your distribution depends on.
  • You only need root rights to start OneAgent installation. This requires that your system meets specific requirements. Otherwise, add the NON_ROOT_MODE=0 parameter to the installation command to disable OneAgent non-privileged mode.
  • You need permissions and credentials for restarting all your application services.
  • You need to check the disk space requirements.
  • The host on which you install OneAgent needs at least 300 MB RAM.
  • There are certain limitations when deploying OneAgent on a Linux host with mounted NFS drives. See Troubleshoot OneAgent installation.
  • All hosts that are to be monitored need to be able to send data to the Dynatrace cluster. Depending on whether your Dynatrace environment is a SaaS or a Managed deployment, and depending on your network layout and security settings, you can choose to either provide direct access to the Dynatrace cluster, or you can set up an ActiveGate.

Installation

Select Deploy Dynatrace from the navigation menu.

Select Start installation and choose Linux.

Select installer type OneAgent supports the following CPU architectures:

  • x86-64 - 64-bit Intel/AMD
  • IBM Z - 64-bit IBM Z mainframe (s390x) Learn more
  • PowerPC (LE) - 64-bit PowerPC (ppc64le)
  • PowerPC (BE) - 64-bit PowerPC (ppc64be) Learn more
  • Linux ARM - ARM64 (AARch64) including AWS Graviton processors

Download the installer
Paste the provided command into your terminal window and execute it.

Verify the signature
After the download is complete, paste the provided command into your terminal window and execute it. Make sure your system is up to date, especially SSL and related certificate libraries.

Optional Customize your installation

  • Set a network zone for this host.
  • If your environment is segmented (for example, into development and production), consider organizing your hosts into host groups.
  • You can override automatically detected host name. This is useful in large and dynamic environments, where defined host names can be unintuitive or can change frequently.
  • You can also apply tags to the host to organize your monitored environments in a meaningful way.
  • Enable Infrastructure Monitoring in place of Full-Stack Monitoring.
  • Disable Log Monitoring.

Note: OneAgent command-line installer provides more options to customize your installation.

Run the installer
Paste the command into your terminal window and execute it. You'll need root access only to start OneAgent installation. Elevated privileges are dropped as soon as Dynatrace OneAgent is deployed.

Notes:

  • If you plan to download Dynatrace OneAgent directly to a server, note that outdated or missing libraries (for example, CA certificates or OpenSSL) prevent the installer from downloading.
  • Dynatrace uses encrypted connections. OpenSSL is required to enable wget to access the server. You can also download the installer by clicking Download OneAgent installer in the page footer and saving the installer script to any location you want, which bypasses the wget command altogether.

You've arrived!

Great, setup is complete! You can now take a look around your new monitoring environment. If you are a SaaS customer, you can access your monitoring environment anytime by going to Dynatrace website and clicking the Login button in the upper-right corner. If you are a Managed customer, you can access your monitoring environment through the Cluster Management Console.

home dashboard

One last thing: to monitor your processes, you need to restart them. At any time, you can check which processes aren't monitored and need to be restarted. Just select Deployment status from the navigation menu, click the All hosts or Recently connected hosts tab, and expand the host you are interested in.