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

Change ActiveGate IP address in custom properties file of OneAgent

Abidyaseen
Helper

How to hange ActiveGate IP address in custom properties file of OneAgent?

2 REPLIES 2

Malaik
Leader

What You mean?

the ActiveGate where the OA is pointing?

If you have multiple AG and you want to use specific one for specific OA,

 

- User the Network Zones.

Sharing Knowledge

Esam_Eid
Pro

Hi @Abidyaseen ,

you can use oneagentctl commands to change the Activegate IP

Use the --set-server parameter to set a OneAgent communication endpoint. Use the IP address or name. Depending on your deployment, it can be a Dynatrace Server, Dynatrace Managed Cluster, or ActiveGate.

Run the following command to adjust OneAgent connection settings:

  • Linux or AIX:
    ./oneagentctl --set-server=https://my-server.com:443 --set-tenant=abc123456 --set-tenant-token=abcdefg123456790 --set-proxy=my-proxy.com
  • Windows:
    .\oneagentctl.exe --set-server=https://my-server.com:443 --set-tenant=abc123456 --set-tenant-token=abcdefg123456790 --set-proxy=my-proxy.com

To define multiple endpoints, separate them by semicolon and add the quotes. For example, --set-server="https://server1;https://server2"

after that you have to restart the agent

https://docs.dynatrace.com/docs/shortlink/oneagentctl#oneagent-communication 

 

Hope this helps

 

BR

Esam Eid 

Dynatrace Certified Professional

Featured Posts