Uninstall OneAgent on AIX
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 uninstall.sh
script.
Following uninstallation
Following uninstallation, log files 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 uninstallation, remove the following:
- Log files located at:
- OneAgent version 1.203+
/var/log/dynatrace/oneagent
- OneAgent version 1.201 and earlier
/opt/dynatrace/oneagent/log
- OneAgent version 1.203+
- Configuration files located at
/var/lib/dynatrace/oneagent/agent/config
. - Clear the
LDR_PRELOAD
and theLDR_PRELOAD64
environment variables.