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

Abstract

Infrastructure monitoring of AWS services in different regions using Dynatrace ActiveGates.

 

Problem

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.

 

Resolution

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)

  • name: <accountName>-ap-south-1
  • role: Dynatrace_monitoring_role_ap-south-1 (DC AG can assume, but not other ActiveGates)
  • DC AG custom properties:
[aws_monitoring]
aws_monitoring_enabled = true
aws_client_regions = ap-south-1

 

Monitoring Configuration for ActiveGate 1 (DR AG)

  • name: <accountName>-ap-south-2
  • role: Dynatrace_monitoring_role_ap-south-2 (DR AG can assume, not others)
  • DR AG custom.properties:
[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.

 

What's next

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

Version history
Last update:
‎02 Apr 2025 04:39 PM
Updated by: