You can already achieve this by configuring a auto-remediation using alerting profiles.
Here's a similar question: https://answers.dynatrace.com/spaces/482/dynatrace-open-qa/questions/240675/problem-auto-remediation...
Here's a blog post for SNOW integration: https://www.dynatrace.com/news/blog/leveraging-servicenow-dynatrace-to-automate-incident-management-...
I'm sure you can find a lot of different materials about this.
1. Set up an alerting profile and define either a custom event or use existing one.
2. Use Ansible Tower, SNOW, Jenkins, Keptn or whatever else that works for you to trigger a desired job - e.g. restart a host XYZ
3. Bind the notification of the event to remediation action.
It's helpful for me, thank you!
>2. Use Ansible Tower, SNOW, Jenkins, Keptn or whatever else that works for you to trigger a desired job - e.g. restart a host XYZ
Can I use Ansible instead of Ansible Tower?
No, you cannot. Ansible is just a "scripting" language and doesn't have any REST API that Dynatrace can communicate with. But you can use Jenkins or other CI/CD you have that triggers the ansible.
That's exactly what I write - you need sth to receive REST calls from Dynatrace. No matter if this is :
- Ansible Tower
- Ansible Python/Webhook ... whatever else..
- You can even have your own webserver that will trigger Ansible.