Do you have any security apps running on that host? I have seen where multiple security apps will either block the install, disable the oneagent and or totally revert the install hours later.
I need to check with servers admins but there probably is a Firewall/antivirus. Thing is it worked perfectly during first install, then it stopped working after restart of the monitored servers, and it kept not working after trying uninstallation and reinstallation of the agents.
One agent is monitoring the host, the problem concerns only some processes (tomcat and apache for the first host, and another process for the second host). For these three processes we keep having the same message:
"Activation of deep monitoring was unsuccessful"
Agent logs on problematic host revealed the following line:
2020-06-12 06:42:20.293 UTC [xxxx] info [native] URL https://<URL>:<PORT>/communication not working (Connection timed out after 2000 milliseconds) (occurred 20 times in the last 1h 0m 0s)
2020-06-12 06:48:30.296 UTC [xxxx] info [native] URL https://<dynatrace_host>.<dynatrace_domain>:<port>/communication not working (Couldn't resolve host 'host.domain.com') (occurred 10 times in the last 1h 0m 0s)
Seems like something was cut after restart ? but clearly host isn't reaching dynatrace server anymore