cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Clear oneagentctl set agent

Stanley
Frequent Guest

This question is similar to

https://community.dynatrace.com/t5/Dynatrace-Open-Q-A/oneagentctl-set-server/m-p/115897

 

How do we clear oneagentctl set-server parameter?

 

Looking through doc

https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-oneagent/oneagent-configura...

Some of the parameters have the option to set "" to clear the set value but for set-server we cannot?


If i initially set an activegate, and no longer use it, how do we get oneagent to communicate directly to the Dynatrace SaaS endpoint?

 

1 REPLY 1

Julius_Loman
DynaMight Legend
DynaMight Legend

Downloaded OneAgent installers contain already list of valid endpoint connections in your environment (SaaS cluster + ActiveGates) and are updated regularly. OneAgents are regularly updated in case of changes. If you remove an ActiveGate, it gets removed from the list. There is no need to run the oneagentctl and the OneAgent will try other connections prioritizing ActiveGates before SaaS or Managed Clusters. So it will automatically connect to Dynatrace clusters if you for example have one ActiveGate and you remove it.

The oneagentctl set-server is used when for example you are in an isolated environment and you must reach your ActiveGate or server on different IP address than the one known (NAT is used for example) or you are migrating your OneAgent to a different Dynatrace environment (in that case you must also change the environment token)

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts