on 03 Apr 2025 10:02 AM
Infrastructure monitoring of AWS services in different regions using Dynatrace ActiveGates.
How can a single AWS account be configured to use two ActiveGates to monitor separate regions?
For example, there is a single AWS account, and different regions need to be monitored independently. In this example, there is a need to have one ActiveGate monitor the ap-south-1 region and another ActiveGate monitor the ap-south-2 region. The ActiveGates in this example are referred to as DC AG and DR AG, respectively.The DC AG should monitor the ap-south-1 region, while the DR AG should monitor the ap-south-2 region.
In order to achieve the need in the example, two monitoring configurations must be created for the AWS account with different monitoring roles so that only the desired ActiveGate can monitor a specific configuration. The region to be monitored by each ActiveGates should be set in the custom.properties file:
Example:
Monitoring Configuration for ActiveGate 1 (DC AG)
[aws_monitoring] aws_monitoring_enabled = true aws_client_regions = ap-south-1
Monitoring Configuration for ActiveGate 1 (DR AG)
[aws_monitoring] aws_monitoring_enabled = true aws_client_regions = ap-south-2
Once the above configuration is done, restart the ActiveGate service, dynatracegateway, on both ActiveGates.
systemctl restart dynatracegateway
After restarting, wait for a few minutes and check the Dynatrace AWS monitoring page. As an end result, you should be able to see DC AG monitoring ap-south-1 and DR AG monitoring ap-south-2 region.
If this article did not help, please open a support ticket, mention that this article was used and provide the following in the ticket:
1. Link to the AWS Account being monitored
2. Dynatrace monitoring role name
3. Logs from the ActiveGate