I want to trigger custom actions from Appdynamics to Ansible, This required to create custom action on controller but we have SaaS controller. Please advise how would I create the same.
Hi Ashish
I have not come across a good working example of this for executing something in Ansible.
Way back when I last tried to get this working there was a limitation for custom actions that required the host server to be Linux. Not sure if that has been changed.
Check out this link.
https://docs.appdynamics.com/appd/23.x/latest/en/appdynamics-essentials/alert-and-respond/actions/re...
Since the Community was not able to jump in and help, you can try contacting AppDynamics Support: How do I submit a Support ticket? An FAQ
If you get or find a solution, can you please share your solution here as a reply?
I don't know if you have SaaS or On-prem, but here is a Docs link to SaaS you should check out. https://docs.appdynamics.com/appd/24.x/24.2/en/appdynamics-essentials/alert-and-respond/actions/reme...
Hi Ryan,
I have a Saas controller. The problem here is my machine agent is not associated to any application and my healthrule which needs to trigger the remediation action is created under Server module. Ideally when healthrule violates I want the to run the script. Can you suggest any way for this.
Regards,
Gopikrishnan R.
Hi Guys,
Any success on this? Also I was checking the server module and in document it says Remediation actions are not available for servers. Any idea how we can call remediation script in Servers.
Regards,
Gopikrishnan R.
Hi Ashish
The documentation only shows an example with a .sh script.
Please test your YAML script in a non-prod environment if possible and let us know how it turned out.
Regards
Hi Ashish
I have not come across a good working example of this for executing something in Ansible.
Way back when I last tried to get this working there was a limitation for custom actions that required the host server to be Linux. Not sure if that has been changed.
Check out this link.
https://docs.appdynamics.com/appd/23.x/latest/en/appdynamics-essentials/alert-and-respond/actions/re...
I have YAML script, can i execute this using above steps?