Dynatrace
Follow the steps below to configure Dynatrace to send in alerts into Squadcast.
Squadcast will then process this information to create incidents for this service according to your preferences.
Using Dynatrace as an Alert Source
(1) From the navigation bar on the left, select Services. Pick the applicable Team from the Team-picker on the top. Next, click on Alert Sources for the applicable Service
(2) Search for Dynatrace from the Alert Source drop-down and copy the Webhook URL
For an Alert Source to turn active (indicated by a green dot - Receiving alerts against the name of the Alert Source in the drop-down), you can either generate a test alert or wait for a real-time alert to be generated by the Alert Source.
An Alert Source is active if there is a recorded incident via that Alert Source for the Service in the last 30 days.
Create a Squadcast Webhook in Dynatrace Dashboard
(1) Log in to your Dynatrace web console, then navigate to Dynatrace > Settings > Integration > Problem notifications
(2) Click Set up notifications and select Custom Integration, as shown below.
(3) Enter a Name and the Webhook URL that was copied from the Squadcast Services page to notify users when an issue occurs with the Webhook notification.
(4) Next, to create a payload, that is to be sent to Squadcast via the Squadcast webhook, insert the following JSON payload in the Custom payload section as shown below.
{
"State": "{State}",
"ProblemID": "{ProblemID}",
"PID": "{PID}",
"ProblemTitle": "{ProblemTitle}",
"ImpactedEntity": "{ImpactedEntity}",
"ImpactedEntities": "{ImpactedEntities}",
"ProblemDetailsText": "{ProblemDetailsText}",
"ProblemSeverity": "{ProblemSeverity}",
"ProblemURL": "{ProblemURL}"
}
More information about the JSON fields can be found in the list of Available placeholders
(5) After configuring the payload, select your Alerting profile, click on Send test notification to send a test notification to the webhook URL to confirm if the integration works properly, and then click on Save to save the integration.
Now whenever an alert notification is triggered in Dynatrace, an incident will automatically be created in Squadcast. Also when an alert is resolved in Dynatrace, the corresponding incident gets auto-resolved in Squadcast.