15 Oct 2020 12:37 PM - last edited on 01 Jul 2021 01:35 PM by MaciejNeumann
Hello,
I want to integrate Dynatrace with an event-system at one of our customers. Other systems that are linked to this event-system, communicatie via XML. The XML-formatted notification message is sent to an e-mail address, which then pushes this message into the event-system.
I thought about doing this via an e-mail integration, but that's based on HTML. The message needs to look like this:
<xml>
<Notification>
<EventID>{PID}</EventID>
<Trigger>{State}</Trigger>
<Priority>{ProblemSeverity}</Priority>
<Transaction>{ProblemTitle}</Transaction>
</Notification>
</xml>
Does anyone has experience with this?
Kind regards,
Sten
Solved! Go to Solution.
15 Oct 2020 12:50 PM
Hi Sten,
Do you have the possibility to directly send the notification to the event-system? We support XML payloads with the webhook integration (https://www.dynatrace.com/support/help/setup-and-configuration/integrations/third-party-integrations...).
We allow the modification of the Email payload on Dynatrace Managed, so this could also work for you, if you're on Managed.
Hope this helps,
Cheers,
Dirk
15 Oct 2020 12:53 PM
Hi Dirk,
I am on Managed, so that sounds promising! I have looked into Webhook, but I'm not sure if I'm able to reach the system directly.
Can you give me more information about modifying the Email payload?
Kind regards,
Sten
15 Oct 2020 01:35 PM
You can find more details on modifying the payload, i.e. the Email message, here: https://www.dynatrace.com/support/help/setup-and-configuration/integrations/third-party-integrations...
However, as you already pointed out in your initial question, it is HTML and not XML. Unfortunately, this doesn't help your in your case.
Best regards,
Dirk
15 Oct 2020 09:24 PM
This is probably best addressed with a custom webhook that routes the desired XML paylod via email.