23 Mar 2022 01:48 PM - last edited on 01 Dec 2022 02:56 PM by MaciejNeumann
In the documentation it is stated :
Opsgenie incidents are automatically created when problems are detected and closed when problems are resolved.
But from our experience only the creation part is working, when the problem is marked as resolved in Dynatrace console it remains open in OpsGenie.
I don't see any setting in the configuration of the problem notification to activate or deactivate the sending of the close event.
Is it still working ?
Solved! Go to Solution.
24 Mar 2022 04:34 PM
I am having this exact same problem just started in our system recently as well. I've combed through all the setting and even updated the OpsGenie integration to V2 but still alerts are not auto closing. Hopefully a resolution can be found, I will keep looking on my end.
29 Mar 2022 03:49 PM
we having this exact same problem too. it was working a few days ago. We didn't change any configuration. I think this problem occured after server last update.
29 Mar 2022 03:58 PM - edited 29 Mar 2022 03:59 PM
I sent a ticket to Dynatrace support. The answer is that Atlassian depracated the V1 of Opsgenie integration with Dynatrace and is pushing the use of their new integration using a webhook in a Custom Integration.
The advice of Dynatrace support was to follow Opsegnie documentation :
https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-dynatrace-webhook-v2/
And to make sure to :
- check the box "Call webhook if problem is closed"
- add "PID":"{PID}" in the json.
We tried it and it works.
29 Mar 2022 05:01 PM
When I add "PID":"{PID}" to the json it strips responders/owners from the alert so it goes to Opgenie but doesn't trigger actual alerts, when I removed the "PID":"{PID}" I get the alert notifications. Did you also see this behavior?
29 Mar 2022 05:57 PM
I don't think we have this problem.
You're using the Custom Integration ?
If yes do you add the PID after the default JSON ?
If yes do you add a comma after the ProblemTitle line so the JSO remain valid ?
{
"State":"{State}",
"ProblemID":"{ProblemID}",
"ProblemTitle":"{ProblemTitle}",
"PID":"{PID}"
}
29 Mar 2022 06:16 PM
Yes, using custom integration and my JSON is identical, I deleted and recreated the integration and I get the notifications in OpsGenie but it is not assigning an owner or responder even thought the team is added to the integration I am not sure what is occurring. I tried tying it to the escalation process and the team both act the same and are not triggering an alert.
29 Mar 2022 06:20 PM
I think I just figured it out, even though the webhook integration is setup the alerts are coming in via the Default API which was not assigned to a team.
21 Apr 2022 10:20 AM
The close alert still does not work for me.
Have you got anymore tips/tricks to try?
30 Mar 2022 11:09 AM - edited 30 Mar 2022 01:08 PM
how did you set priority? ProblemSeverity propery is not working.
{ProblemSeverity}: Severity level of the problem. Possible values are AVAILABILITY, ERROR, PERFORMANCE, RESOURCE_CONTENTION, or CUSTOM_ALERT.