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

Ansible Remediation

ADPaoloni
Mentor

Has anyone written any workflow in ansible (Tower or AWX) that is triggered from Dynatrace, where the problem is reported and a context search is performed, in order to execute the remediation task?

And im not speaking of the classic examples of comments or rollback.

Im trying to build it for Process restart for java apps that go rogue and just crash the box if nobody is watching. Already write it for a single Host. But in a multitude of host with multitude of different process with same name and different host and uses im just scraching my head of how to actually do it.

Im starting to read about Ansible Workflow, but the fact is that after the problem is reporded i need to gather the information (asuming calling the Topology API) and get some context to know what to actually do.

Did anyone had this scene and managed to actually create a self-healing enviroment?

 

Thanks!

 

4 REPLIES 4

ChadTurner
Leader

We had started an integration with Ansible where we built a playbook that defined the processes needed to reboot a process when it had crashed. Unfortunately we never finished that play book as other issues had come up and it was side lined.

-Chad

@ChadTurner  

 

Where is that playbook, I would like to remove it, one of our clients starting to use Ansible and we would like to add value

 

Regards!

There are no playbooks included out of the box. You would need to create one via the 3rd party application. 

-Chad

Thanks! Chad.

 

Regards.