Dynatrace

Dynatrace is a software-intelligence monitoring platform used to simplify enterprise cloud complexity. When an issue is identified in the software environment, a problem is immediately logged in Dynatrace.

The Dynatrace extension creates an incident request in ServiceDesk Plus Cloud when a problem is logged in Dynatrace.

Role Required: SDOrgAdmin

Benefits

Set Up Dynatrace Extension 

Authorize Extension

Go to Dynatrace and sign in to your account. On the left pane, go to Manage > Access Tokens.

 

 

In ServiceDesk Plus Cloud, go to Setup > Apps & Add-ons > Extensions and install the Dynatrace extension. Alternatively, you can install the extension from ManageEngine Marketplace.

<protocol>://<dynatrace environment id>.live.dynatrace.<dynatrace dc> 

Sample URL - https://*****.live.dynatrace.com 

 

 

 

 

 

Set Up Problem Notification

In ServiceDesk Plus Cloud, go to Setup > Developer Space > Custom Functions > Callback Functions.

 

 

Navigate to your Dynatrace account. In the left pane, go to Manage > Settings > Integration > Problem Notifications.

{
"id":"{PID}",
"display_id":"{ProblemID}",
"subject":"{ProblemTitle}",
"description":"{ProblemDetailsHTML}",
"state":"{State}",
"sdp_instance":"<insert your service desk instance name>"
"custom_payload":{}
}

For example, if the closure comment is mandated by closure rules, include it in "closure_info". Then, configure "closure_operation" with the mode and message to be added along with the latest comment in Dynatrace. Use the sample snippet as a reference.

 

Sample Snippet

{
"id":"{PID}",
"display_id":"{ProblemID}",
"subject":"{ProblemTitle}",
"description":"{ProblemDetailsHTML}",
"state":"{State}",
"sdp_instance":"itdesk",
"custom_payload":{
"level": {"id": "175709000000006675"},
"urgency": {"id": "175709000000007923"},
"priority": {"id": "175709000000006799"},
"udf_fields": {"udf_char105": "alpha alpha","udf_long3": "1234"}
},
"closure_payload":{
"status": {"name": "Closed"},
"udf_fields": {"udf_char107": "alpha omega","udf_long5": "6789"}
"closure_info": {
"requester_ack_resolution": true,
"requester_ack_comments": "Problem closed from dynatrace end",
"closure_comments": "Issue has been resolved from dynatrace",
}
},
closure_operation : {
mode : notes,
message : "Issue fixed - from Dynatrace : ",
append_message_with_latest_comment : true
}
}
 

After logging a problem using this snippet in Dynatrace, an incident will be created in ServiceDesk Plus Cloud with the specified fields and their corresponding values populated.

Note: The fields udf_char103 and udf_char101 mentioned above should match the UDF "Field Keys" present in the instance.

 

 

Track Dynatrace Problem from ServiceDesk Plus Cloud 

After the extension is configured and authorized, incident requests will be created in ServiceDesk Plus Cloud each time a problem is logged in Dynatrace. When the incident is closed, the Dynatrace problem will also be closed and vice-versa.

A widget will be added to the right pane on the incident request details page. Technicians can view the problem details and add comments.