Introduction

Dynatrace monitors the response times and performance experienced in mobile and desktop browsers.

OpsRamp configuration

Configuration involves the following:

  1. Installing the integration.
  2. Configuring the integration.

Step 1: Install the integration

To install:

  1. From All Clients, select a client.
  2. Go to Setup > Integrations > Integrations.
  3. From Available Integrations, select Monitoring > Dynatrace.
  4. Click Install.

Step 2: Configure the integration

To configure the integration:

  1. From the API tab, provide the following:
    • Authentication: Copy Tenant Id, Token and Webhook URL for configuration. These settings are used for creating a HTTP Request template.
    • Map Attributes: Provide the mapping information for the third-party.
  2. From the Monitoring of Integration tab, click Assign Templates.
  3. From the Audit Logs, set up audit log criteria and time frame.

Configuring the map attributes

To configure the mapping attributes:

  1. Select the required OpsRamp property from the drop-down.
  2. Click Add Mapping Attributes to map attributes for the specific OpsRamp alert property.
  3. Click + to define the mappings.
  4. From Create Alert Mappings on Status, define the mappings, parsing conditions, and default values, and Save.

The following table shows the attribute mappings.

Property Mappings
Third-Party EntityOpsRamp EntityThird-Party PropertyOpsRamp PropertyThird-Party Property ValueOpsRamp Property Value
AlertALERTProblemSeverityalert.currentStateAVAILABILITYOk
AlertALERTProblemSeverityalert.currentStateERRORCritical
AlertALERTProblemSeverityalert.currentStatePERFORMANCEInfo
AlertALERTProblemSeverityalert.currentStateRESOURCE_CONTENTIONWarning
AlertALERTProblemDetailsTextalert.descriptionNANA
AlertALERTImpactedEntityalert.deviceNameNANA
AlertALERTProblemImpactalert.serviceNamemytestTest
AlertALERTStatealert.subjectNANA

 

Dynatrace configuration

Configuration involves:

  1. Configuring alerts.
  2. Configuring alerting profiles.

Step 1: Configure alerts

To configure alerts:

  1. Log into Dynatrace Admin UI.
  2. Go to Integrations > Problem Notification, select + Set up notification and provide the following:
    • Name
    • Webhook URL: Paste the Webhook URL that you generated from OpsRamp inbound configuration.
    • Custom payload: Provide the payload.
    • Default for Alert Profiling
  3. Click Send test notification.

Sample payload

{ 
    "State": "OPEN",
    "ProblemID": "999",
    "ProblemTitle": "Dynatrace problem notification test run",
    "ImpactedEntity": "Myhost1, Myservice1",
    "ProblemSeverity": "PERFORMANCE",
    "ProblemDetailsText": "Dynatrace problem notification test run details",
    "ProblemImpact": "INFRASTRUCTURE"
}

Step 2: Configure alerting profiles

To create filtering rules using alerting profiles.

  1. Go to Dynatrace Home Settings > Alerting.
  2. Select Alerting Profiles, enter a name and click Create.
  3. On the <Test 1> page, create the required alerting rule and event filter and click Done.