Check Dynatrace OneAgent status on CentOS directly using “systemctl status oneagent“command. [root@TESTSRV3 ~]# systemctl status oneagent ā— oneagent.service – Dynatrace OneAgent Loaded: loaded (/etc/systemd/system/oneagent.service; enabled; vendor preset: disabled) Active: active (running) since Tue 2021-01-19 08:25:14 EET; 2 weeks 5 days ago Process: 28825 ExecStart=/opt/dynatrace/oneagent/agent/initscripts/oneagent start (code=exited, status=0/SUCCESS) Main PID: 645 (code=exited, status=0/SUCCESS) CGroup: /system.slice/oneagent.service ā”œā”€15566 […]

./uninstall.sh Navigate to “/opt/dynatrace/oneagent/agent” and run ./uninstall.sh [root@KUBENODE2 agent]# ./uninstall.sh 18:52:00 Checking root privilegesā€¦ 18:52:00 OK 18:52:00 Removing entries for preloading 18:52:00 Using systemd to stop the agent 18:52:15 Restoring original core_pattern file 18:52:15 Removing oneagentproc from system folders 18:52:15 Removing oneagentproc from /lib64 18:52:15 Cleaning up /opt/dynatrace/oneagent/agent. Part of configuration preserved in /var/lib/dynatrace/oneagent 18:52:16 […]