Follow this guide to install Dynatrace OneAgent for the very first time.
Once you've followed this guide, you'll have OneAgent installed onto a host and can use Dynatrace to monitor that host and its processes.
This guide assumes that you have:
To download and install OneAgent on a host:
In Dynatrace Hub, select OneAgent.
Select Set up . The Install OneAgent window opens.
Enter or select the appropriate parameters (see the screenshot below for an example).
Select Generate token to generate an API token that lets your Dynatrace environment access OneAgent. Copy the token and save it somewhere safe, because you will not be able to access it again. You don't need to do anything else with this token right now.
Download OneAgent. Either use the provided CLI command or select Download.
Verify the signature. Use the provided CLI command. (Note: Linux and AIX only.)
Install OneAgent. Either use the provided CLI command or run the executable by selecting it in the GUI. Follow the steps as described in the installer.
If you install via the GUI, you should add the following options in the Optional: advanced command-line settings screen:
--set-monitoring-mode=fullstack --set-app-log-content-access=true
When the installer shows a Congratulations! Dynatrace OneAgent was successfully installed! message, OneAgent is installed on the host. Select Finish to exit the installer.
Because OneAgent can't inject itself into running processes, you'll need to restart all processes that you want OneAgent to monitor.
To confirm that OneAgent is monitoring your host, open Dynatrace and go to Infrastructure & Operations > Host. If everything is working as expected, you'll see the name of your host in the Hosts table. See the screenshot below for an example.
OneAgent is now set up and monitoring your host. See Get started with Dynatrace to continue your first journey with Dynatrace.