23 Jun 2022 02:15 AM
I am following the document to install OneAgent extension on Azure VMs.
Want to ask on how to define multiple ActiveGate server URL from powershell install. Do I define it twice?
-Settings @{ "tenantId"="<Environment-ID>"; "token"="<API Token>";"server"="<Server-Url>";"server"="<Server-Url>";"enableLogAnalytics"="yes"; "hostGroup"="<Host-Group>"; }
Set-AzureRmVmExtension
-Name Dynatrace
-Publisher dynatrace.ruxit
-ResourceGroupName "<Resource-Group>"
-Location "<Location>"
-VMName "<VM-Name>"
-ExtensionType "<Extension-Type>"
-TypeHandlerVersion "<Extension-Version>"
-Settings @{ "tenantId"="<Environment-ID>"; "token"="<API Token>";"server"="<Server-Url>"; "enableLogAnalytics"="yes"; "hostGroup"="<Host-Group>"; }
Thanks
Christian
Solved! Go to Solution.
23 Jun 2022 09:58 AM
I doubt multiple AG is supported currently, this is a wrong json template. You can write some kind of custom script/ code to user this json template and than execute the script for this json to use different values from defined configurations.