# Problem Auto-Remediation With DynaTrace

**URL:** <https://community.dynatrace.com/t/problem-auto-remediation-with-dynatrace/19601>\
**Category:** Automations\
**Tags:** automation\
**Created:** [June 17, 2020, 4:02pm UTC](https://community.dynatrace.com/t/problem-auto-remediation-with-dynatrace/19601 "2020-06-17T16:02:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![richard\_newboun](https://avatars.discourse-cdn.com/v4/letter/r/a4c791/32.png) [@richard\_newboun](https://community.dynatrace.com/u/richard_newboun)\
**Post date:** [June 17, 2020, 4:02pm UTC](https://community.dynatrace.com/t/problem-auto-remediation-with-dynatrace/19601/1 "2020-06-17T16:02:27Z")

</div>

Hi all,

We’re looking at the next phase of our DynaTrace deployment and how we can automatically act on certain problems (automatically execute scripts, restart services, etc.). Can anyone advise which tools have been used and integrated into DynaTrace to perform the orchestration of these remediation tasks. I have no preference, so any recommendation would be gratefully received!

Thanks,

Richard

---

<div class="post-metadata">

**Author:** ![JamesKitson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jameskitson/32/22460_2.png) [@JamesKitson](https://community.dynatrace.com/u/JamesKitson)\
**Post date:** [June 17, 2020, 4:46pm UTC](https://community.dynatrace.com/t/problem-auto-remediation-with-dynatrace/19601/2 "2020-06-17T16:46:03Z")

</div>

Ansible / Ansible Tower is one that comes to mind. We have an integration with it that’s discussed here:

> **[Open source communities](https://www.redhat.com/en/blog/channel/open-source-communities?intcmp=7015Y000003t7aWQAQ)**
>
> Discover how communities and organizations contribute to the open source ecosystem

> **[What is software automation? Optimize the software lifecycle with intelligent...](https://www.dynatrace.com/news/blog/what-is-software-automation/)**
>
> What is software automation? Find out how software analytics enables software automation, its importance, the role of AIOps, and more.

> **[Send Dynatrace notifications to Ansible Tower](https://docs.dynatrace.com/docs/analyze-explore-automate/alerting-and-notifications-classic/problem-notifications/ansible-tower-integration)**
>
> Learn how to set up notifications by adding a playbook job template URL from your Ansible Tower instance to Dynatrace settings.

You can use it to kick of defined ‘playbooks’ in response to certain problems.

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [June 17, 2020, 8:16pm UTC](https://community.dynatrace.com/t/problem-auto-remediation-with-dynatrace/19601/3 "2020-06-17T20:16:07Z")

</div>

James is Exactly right, Ansible tower can be used for auto remediation as well as deployments and can be very useful. I would recommend looking into leveraging the product.

---

<div class="post-metadata">

**Author:** ![kvsudheerbabu](https://avatars.discourse-cdn.com/v4/letter/k/aeb1de/32.png) [@kvsudheerbabu](https://community.dynatrace.com/u/kvsudheerbabu)\
**Post date:** [September 21, 2023, 7:55pm UTC](https://community.dynatrace.com/t/problem-auto-remediation-with-dynatrace/19601/4 "2023-09-21T19:55:29Z")

</div>

Do we have a similar one for Terraform in AWS?

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [September 21, 2023, 10:17pm UTC](https://community.dynatrace.com/t/problem-auto-remediation-with-dynatrace/19601/5 "2023-09-21T22:17:27Z")

</div>

Hi&nbsp;[@kvsudheerbabu](https://community.dynatrace.com/user/56372),

Could you please check these links:

[Docs overview | dynatrace-oss/dynatrace | Terraform | Terraform Registry](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs)

[GitHub - dynatrace-oss/terraform-provider-dynatrace](https://github.com/dynatrace-oss/terraform-provider-dynatrace)

I hope it helps.

Best regards,

Mizső

---

<div class="post-metadata">

**Author:** ![kvsudheerbabu](https://avatars.discourse-cdn.com/v4/letter/k/aeb1de/32.png) [@kvsudheerbabu](https://community.dynatrace.com/u/kvsudheerbabu)\
**Post date:** [September 21, 2023, 10:54pm UTC](https://community.dynatrace.com/t/problem-auto-remediation-with-dynatrace/19601/6 "2023-09-21T22:54:30Z")

</div>

Thanks for your quick response.

How can we use these terraform modules to restart a specific process or host that were reported as part of metric event problem?

Thanks

Sudheer

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [September 22, 2023, 5:30am UTC](https://community.dynatrace.com/t/problem-auto-remediation-with-dynatrace/19601/7 "2023-09-22T05:30:45Z")

</div>

Hi&nbsp;[@kvsudheerbabu](https://community.dynatrace.com/user/56372),

I have shared those links becasue you can find inofrmation about the DT and Terrafrom integration. I have never used Terrafroam.

As in the previous answers in most cases I have met with Ansible Tower job template solution for autoremediation.

This is an Azure example:

 ![Mizs_0-1695360619392.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/2/c2e5a74d630d7fd69ee558da889537f96483741d.png)

Best regards,

Mizső
