Kovair DevOps and Dynatrace Integration Plugin

Listen to this article

Dynatrace Plugin Details

Plugin Version: 1.0
Last Update on: January 17, 2020

Overview

Dynatrace is a software intelligence company providing application performance management (APM), artificial intelligence for operations (AIOps), cloud infrastructure monitoring, and digital experience management (DEM), with products for the information technology departments and digital business owners of medium and large businesses.
This plug-in has been designed to manage Dynatrace environment from Kovair DevOps platform.

Dynatrace Information:

More information can be found at Dynatrace.

Version Supported:

This plugin was developed and tested against Dynatrace SAAS instance.

Plugin Operations:

GetProblems This operation fetches latest problems of the environment detected by Dynatrace.

Input parameter(s):

Parameter Is Mandatory Help Text
Relative Time true The relative timeframe of the inquiry, back from the current time. E.g. If ’30mins’ is chosen, then all problems raised in the last 30 mins. will be fetched.
Problem Status false Filters the result problems by the status.
Impact Level false Filters the result problems by the impact level.
Severity Level false Filters the result problems by the severity level.

Output parameter(s):

Parameter Help Text
Status Status of the operation.
OutputLog Response message content.
  1. GetSingleProblem
Gets the properties of the specified problem.

Input parameter(s):

Parameter Is Mandatory Help Text
Problem ID true The ID of the problem which will be enquired.
This can be found by opening the problem and then from the browser address bar selecting the text appearing in between pid= and ;. For example: https://qnv73334.live.dynatrace.com/#problems/problemdetails;pid=1010862231876473749_1579154100000V2;gf=all, here the problem ID is: 1010862231876473749_1579154100000V2

Output parameter(s):

Parameter Help Text
Status Status of the operation.
OutputLog Response message content.
  1. CloseProblem
This operation closes a problem while adding a closing comment to it.

Input parameter(s):

Parameter Is Mandatory Help Text
Problem ID true The ID of the problem that should be closed
This can be found by opening the problem and then from the browser address bar selecting the text appearing in between pid= and ;. For example: https://qnv73334.live.dynatrace.com/#problems/problemdetails;pid=1010862231876473749_1579154100000V2;gf=all, here the problem ID is: 1010862231876473749_1579154100000V2
Comment true The comment text which is to be added while closing the problem.

Output parameter(s):

Parameter Help Text
Status Status of the operation.
  1. AddCommentToProblem
Adds a new comment to the specified problem.

Input parameter(s):

Parameter Is Mandatory Help Text
Problem ID true The ID of the problem where comment should be added.
This can be found by opening the problem and then from the browser address bar selecting the text appearing in between pid= and ;. For example: https://qnv73334.live.dynatrace.com/#problems/problemdetails;pid=1010862231876473749_1579154100000V2;gf=all, here the problem ID is: 1010862231876473749_1579154100000V2
Comment true The comment text.

Output parameter(s):

Parameter Help Text
Status Status of the operation.
CommentID ID of the newly added comment.
  1. GetHosts
Lists all available hosts in dynatrace environment.

Output parameter(s):

Parameter Help Text
Status Status of the operation.
OutputLog Response message content.
  1. GetApplications
Lists all monitored applications in dynatrace environment.

Input parameter(s):

Parameter Is Mandatory Help Text
Relative Time false The relative timeframe of the inquiry, back from the current time. E.g. If ’30mins’ is chosen, then all applications detected in the last 30 mins. will be fetched.

Output parameter(s):

Parameter Help Text
Status Status of the operation.
OutputLog Response message content.

Pass/Fail Conditions:

Method Status Condition
GetProblems Passed If   HTTP Status Code of 200 (OK) is received from Dynatrace and OutputLog is not empty and can be deserialized into a collection of problem feed objects (Dynatrace Model: ProblemFeedResultWrapper).
GetProblems Failed If   HTTP Status Code of 200 (OK) is not received from Dynatrace or If OutputLog is empty or if OutputLog is not empty but cannot be deserialized into a collection of problem feed objects. (Dynatrace Model: ProblemFeedResultWrapper).
GetSingleProblem Passed If   HTTP Status Code of 200 (OK) is received from Dynatrace and if OutputLog is not empty and can be deserialized into a problem object (Dynatrace Model: ProblemDetailsResultWrapper).
GetSingleProblem Failed If   HTTP Status Code of 200 (OK) is not received from Dynatrace or if OutputLog is empty or if OutputLog is not empty but cannot be deserialized into a problem object (Dynatrace Model: ProblemDetailsResultWrapper).
CloseProblem Passed If   HTTP Status Code of 200 (OK) is received from Dynatrace.
CloseProblem Failed If   HTTP Status Code of 200 (OK) is not received from Dynatrace.
AddCommentToProblem Passed If   HTTP Status Code of 200 (OK) is received from Dynatrace and if OutputLog is not empty and can be deserialized into a comment object (Dynatrace Model: PushProblemComment).
AddCommentToProblem Failed If   HTTP Status Code of 200 (OK) is not received from Dynatrace or if OutputLog is empty or if OutputLog is not empty but cannot be deserialized into a comment object (Dynatrace Model: PushProblemComment).
GetHosts Passed If   HTTP Status Code of 200 (OK) is received from Dynatrace and if OutputLog is not empty and can be deserialized into a collection of host objects (Dynatrace Model: Host).
GetHosts Failed If   HTTP Status Code of 200 (OK) is not received from Dynatrace or if OutputLog is empty or if OutputLog is not empty but cannot be deserialized into a collection of host objects (Dynatrace Model: Host).
GetApplications Passed If   HTTP Status Code of 200 (OK) is received from Dynatrace and if OutputLog is not empty.
GetApplications Failed If   HTTP Status Code of 200 (OK) is not received from Dynatrace or if OutputLog is empty

Limitations:

  1. This plug-in has been tested in Dynatrace SAAS environment only.
  2. Connectivity with Dynatrace SAAS/On-Premise instance must be ensured.
  3. API Token must be generated with adequate access rights for successful REST calls to Dynatrace.
  4. Dynatrace One-Agent Service must be installed with necessary configurations in the client nodes (machines) so that they are connected to Dytatrace master and their monitoring is enabled.

Release Details:

Dynatrace: 1.0
Initial version with basic functionalities.

Contact us:

    Yes, I accept the Privacy Statement and want to receive latest information from Kovair.