For the agent only the availability of the collector is relevant, if the server is unavailable the agent would still send its data to the collector normally.
If the agent got a connection to the collector during startup (it will try for up to 60s to get one) then it will try to reconnect indefinitely if the connection is lost. Reconnects will be tried every 10 seconds...
Andreas sayed both collector and server has to be running before agent startup.
Maybe this topic changed between during these years?
My question is if our appmon enviroment including appmon server and collector will have to shutdown one week,how about if agents reconnect to collector,will the application server need restart? or reconnect collector normally? Thanks!
Let me share my experience with the Dynatrace Managed. If the Dynatrace environment/components not available for the Dynatrace OneAgent to connect then it will keep trying but after every failed to try it will keep adding more time for the next try.
Once the agent will be able to connect then the monitoring will be started.
BUT, if the agent was disabled/stopped and the application processes restarted then after the connectivity of the agent the processes must be restart to resume the monitoring.
BUT, in your case agents are available all the time so if the AppMon agent has the same mechanism to keep trying without give up.
Note: I remember while using the AppMon that some of the processes were unable to start because the AppMon agent was not able to connect to the environment.