Introduction
Dynatrace monitors the response times and performance experienced in mobile and desktop browsers.
OpsRamp configuration
Configuration involves the following:
- Installing the integration.
- Configuring the integration.
Step 1: Install the integration
To install:
- Select a client from the All Clients list.
- Go to Setup > Integrations > Integrations.
- From Available Integrations, select Monitoring > Dynatrace.
- Click Install.
Step 2: Configure the integration
To configure the integration:
- From the API tab, provide the following:
- Authentication: Copy Tenant Id, Token and Webhook URL for configuration. These settings are used for creating an HTTP Request template.
- Map Attributes: Provide the mapping information for the third-party.
- From the Monitoring of Integration tab, click Assign Templates.
- From the Audit Logs, set up audit log criteria and time frame.
Configuring the map attributes
To configure the mapping attributes:
- Select the required OpsRamp property from the drop-down.
- Click Add Mapping Attributes to map attributes for the specific OpsRamp alert property.
- Click + to define the mappings.
- From Create Alert Mappings on Status, define the mappings, parsing conditions, and default values, and Save.
The following table shows the attribute mappings.
Third-Party Entity | OpsRamp Entity | Third-Party Property | OpsRamp Property | Third-Party Property Value | OpsRamp Property Value |
---|---|---|---|---|---|
Alert | ALERT | ProblemSeverity | alert.currentState | AVAILABILITY | Ok |
Alert | ALERT | ProblemSeverity | alert.currentState | ERROR | Critical |
Alert | ALERT | ProblemSeverity | alert.currentState | PERFORMANCE | Info |
Alert | ALERT | ProblemSeverity | alert.currentState | RESOURCE_CONTENTION | Warning |
Alert | ALERT | ProblemDetailsText | alert.description | NA | NA |
Alert | ALERT | ImpactedEntity | alert.deviceName | NA | NA |
Alert | ALERT | ProblemImpact | alert.serviceName | mytest | Test |
Alert | ALERT | State | alert.subject | NA | NA |
Notes
- You can modify the attributes at any time.
- You need not follow the same mappings.
Dynatrace configuration
Configuration involves:
- Configuring alerts
- Configuring alerting profiles
Step 1: Configure alerts
To configure alerts:
- Log into Dynatrace Admin UI.
- 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
- Click Send test notification.
Note
- The Set up notifications screen helps Dynatrace integrate with other notification systems.
- The Custom Integration area displays a problem notification setup screen.
- The
ImpactedEntities
andProblemDetailsJSON
values are JSON data types and must not have quotes around them. - The Save button is displayed only if send test notification is successful.
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.
- Go to Dynatrace Home Settings > Alerting.
- Select Alerting Profiles, enter a name and click Create.
- On the <Test 1> page, create the required alerting rule and event filter and click Done.