I recently add our host to be monitored with dynatrace. After I deploy agent to my host, it said that I should restart the processes in order to be fully visibility monitored. Then I reboot the host, after that the host is not monitored. It is said that “Host is not monitored. OneAgent uninstalled 1 hour 51 minutes ago.”
If oneagent files and systemd unity (or SysV init script) are not there after reboot then your host does some reverting mechanisms such as reverting filesystem changes on reboot to a snapshot.