cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem Notification - Custom Integration with ProblemDetails as non HTLM-formated string

rodrigo_alvare1
Dynatrace Pro
Dynatrace Pro

Hello,

In Problem Notification of a WebHook Custom Integration I would like to send directly the Problems details as plain text and not HTML-formatted. Is this currently possible?

Or this could be a RFE?

Thank you

5 REPLIES 5

adam_gardner
Dynatrace Champion
Dynatrace Champion

Hi Rodrigo, the following are currently available:

  • Text
  • HTML
  • JSON
  • Markdown

I believe the placeholder you need is:

{ProblemDetailsText}

juanjose_garci1
Inactive

Hi Adam, I´m involved in this issue with Rodrigo.

We have just put the Tag you mentioned: {ProblemDetailsText}, but it is empty.

This is a real result:

571|RESOLVED|INFRASTRUCTURE|CPU saturation|CPU saturation on Host Tomcat_portalprod08|{ProblemDetailsText}

Is there any other Tag could I use instead ?

Thank you.

Regards.

adam_gardner
Dynatrace Champion
Dynatrace Champion

Hi Juan, apologise, I wasn't clear initially. This is available on SaaS and is available on cluster version 143. Here's the blog post by our product manager @Wolfgang B.

juanjose_garci1
Inactive

Hi Adam.

Thank you for clarifying.

Let´s look forward to Dynatrace Managed Release 1.143 to test it

I¨ll keep you psted about my findings.

Regards.

juanjose_garci1
Inactive

Hi Adam.

The placeholder {ProblemDetailsText} is now available, but unfortunately it contains "CR" and "LF" characters, for example:

RESOLVED Problem 771 in environment qce29222

1 impacted infrastructure component

Host
oshiftinfra01.dpd.ieci

CPU saturation
8.17 % CPU usage

https://qce29222.live.dynatrace.com/

This becomes very difficult to use the value, for instance, if I want to run an OS Command form the Command Line passing the value as a Parameter.

Is there any way to get the same value as a single String no "CR" and "LF" characters ?

Thank you in advance.