cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

removing onegent from linux servers

paul
Newcomer

According to this:


https://www.dynatrace.com/support/help/installatio...

there should be an uninstall script in /opt/dynatrace/oneagent/agent

However.....

[root@FFC-ADMIN-01 agent]# pwd
/opt/dynatrace/oneagent/agent
[root@FFC-ADMIN-01 agent]# ls -ltr
total 1612
drwxr-xr-x 3 root dtuser 4096 Nov 30 11:52 res
drwxr-xr-x 7 root dtuser 4096 Nov 30 18:06 plugin
drwxr-xr-x 2 root dtuser 4096 Nov 30 18:06 lib
drwxr-xr-x 2 root dtuser 4096 Nov 30 18:06 lib64
drwxr-xr-x 2 root dtuser 4096 Nov 30 18:06 libmusl64
lrwxrwxrwx 1 root root 52 Nov 30 18:06 rdp -> /opt/dynatrace/oneagent/agent/lib64/oneagentdumpproc
drwxr-xr-x 3 root dtuser 4096 Nov 30 18:06 authorizedkeys
drwxr-xr-x 4 root dtuser 4096 Nov 30 18:06 tools
drwxr-xr-x 6 root dtuser 4096 Nov 30 18:06 bin
-rwxr-x--- 1 root dtuser 52712 Nov 30 18:06 uninstall.sh
-rw-r--r-- 1 root dtuser 1547106 Nov 30 18:06 THIRDPARTYLICENSEREADME.txt
-rw-r--r-- 1 root dtuser 27 Nov 30 18:06 installer.version
drwxr-xr-x 2 root dtuser 4096 Nov 30 18:06 initscripts
drwxrwxr-t 3 root dtuser 4096 Nov 30 18:06 conf
-rw-r--r-- 1 root root 7 Dec 4 12:20 agent.state


So, how do I uninstall the agent?

3 REPLIES 3

Mike_L
Dynatrace Pro
Dynatrace Pro

Hi Paul,

I would go with the uninstall.sh script in the folder you just printed out 🙂

Kind regards,

Mike

paul
Newcomer

Holy crap, how did I miss that?

I didn't have executable permissions, hence me not being able to run it..... and then I apparently went blind and didn't see it in the directory list. Amazing.

Mike_L
Dynatrace Pro
Dynatrace Pro

No worries, it has happened to all of us 🙂