Your Dynatrace OneAgent has a dedicated uninstall program. You'll need to run it to remove OneAgent from your system.
Go to the
/opt/dynatrace/oneagent/agent directory and, using root rights, run the
For Dynatrace OneAgent versions 102 and earlier, run the script from the
Following uninstallation, log files, the user running OneAgent, and part of the configuration are preserved in the OneAgent installation directory. These can be removed manually. Note however that if the configuration files have been removed, and OneAgent is re-installed, the host will show up as a new host with a different internal identifier.
For a complete OneAgent unistallation, remove the following:
- Log files located at
- Configuration files located at
- The user running OneAgent,