21 Jan 2022 08:49 AM
During a disaster recovery test, we have stopped our Dynatrace Managed Cluster. As a result we encountered issues on all hosts with OneAgents installed. All processes showed a lag and in the various logs we could see connection attempts to the ActiveGates and Dynatrace Managed Cluster. As a consequence we decided to stopp all OneAgents. However, the processes continue logging and trying to connect to the ActiveGates and the Dynatrace Managed Cluster.
Has somebody experienced a simlilar behaviour and has a solution?
21 Jan 2022 09:25 AM
What kind of issues you encountered ? You can only expect to miss some data points when downtime of server is longer. Connection attempts are expected.
If you just stop oneagent processes, injected agents inside app processes keeps running until app process restart.
21 Jan 2022 09:33 AM
Thank you for this information. We already guessed this.
Currently we use Nagios in parallel. We discovered the behaviour when the checks of Nagios for the processes of the application resulted in timeouts. So it appears this has a negative effect. We are not sure if our application users also experience lag.
So the questions are:
- Why does this affect the checks made by Nagios?
- Do the application users also experience delays?
- How can we prevent this from happening?
21 Jan 2022 09:38 AM
Not sure, what your Nagios really performs as process check. Can you post more details ? App users are not expected to experience any lags when Dynatrace server is down.
21 Jan 2022 09:48 AM
Nagios executes a Python script which issues the following for the Java-Processes:
java -cp /opt/sense/server/communitynode_tomcat/lib/sensecommonlib/h2-1.4.197.jar org.h2.tools.Shell -url "jdbc:h2:file:/opt/sense/atnaCache/cn/logging;AUTO_SERVER=TRUE" -user sense -password sense -sql "select * from public.messages"
21 Jan 2022 10:15 AM
Ok, this looks like check of other tool's log messages (from h2 db). Did timeouts appear as messages selected from h2 ? I'm not aware of tool named sense, have you contacted Dynatrace support about this ?
21 Jan 2022 10:19 AM
Hi rastislav_danis.
Yes we currently have a case open with Dynatrace Support.
21 Jan 2022 10:38 AM
I think we have to exclude all Nagios processes from monitoring.
21 Jan 2022 11:41 AM
This is about tool named sense, not Nagios, which seems to just read messages from already logged in H2 DB:
/opt/sense/atnaCache/cn/logging