How to hange ActiveGate IP address in custom properties file of OneAgent?
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.
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
Hope this helps
BR
Esam Eid