Dynatrace monitors the response times and performance experienced in mobile and desktop browsers.
OpsRamp configuration
Step 1: Install the integration
- From All Clients, select a client.
- Go to Setup > Account.
- Select the Integrations and Apps tab.
- The Installed Integrations page, where all the installed applications are displayed. Note: If there are no installed applications, it will navigate to the ADD APP page.
- Click + ADD on the Installed Integrations page. The Available Integrations and Apps page displays all the available applications along with the newly created application with the version.
Note: You can even search for the application using the search option available. Also yu can use the All Categories option to search. - Click ADD in the Dynatrace application and click Install.
- Select authentication type as WEBHOOK and click Save.
- Make a note of Tenant ID, Token and Webhook URL.
These details are used while creating an HTTP Request template during Dynatrace configuration. - Click Save.
Step 2: Configure the integration
- From the API tab, enter:
- Authentication: Copy Tenant Id, Token, and Webhook URL for configuration. These settings are used for creating an HTTP Request template.
- Map Attributes: Enter 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
- 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 |
- You can modify the attributes at any time.
- You need not follow the same mappings.
Dynatrace configuration
Step 1: Configure alerts
- Log into Dynatrace Admin UI.
- Go to Integrations > Problem Notification, select + Set up notification and enter:
- Name
- Webhook URL: Paste the Webhook URL that you generated from OpsRamp inbound configuration.
- Custom payload: Enter the payload.
- Default for Alert Profiling
- Click Send test notification.
- 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.
Example payload:
{
"State": "OPEN",
"ProblemID": "999",
"ProblemTitle": "Dynatrace problem notification test run",
"ImpactedEntity": "Myhost1, Myservice1",
"ProblemSeverity": "ERROR",
"ProblemDetailsText": "Dynatrace problem notification test run details",
"ProblemImpact": "INFRASTRUCTURE"
}
Step 2: Configure 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.