cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Controller (SaaS, On Premises)

Advanced Remediation Scripts

Jason.Fane
Creator

Advanced Remediation Scripts

Hello Community, 

 

First post.

I'm trying to create an advanced remediation script that can automatically take heap dumps and restart a java instance. Due to some of our customers running custom jobs, they need to be able to decide WHEN this remediation is run, so I configured it to send an e-mail. It works perfectly, and it doesn't allow two remediation scripts to run at the same time. 

I'm trying to take this to the next level, however. As well as the e-mail I would like to post information to one of our internal systems and provide the URL link for the remediation script. Looking over a few runs of this it looks like the only thing that changes is the triggerID. 

(changed the variables below for security purposes)

First e-mail sent the remediation link:
https://customer1.saas.appdynamics.com/#location=APP_ADJUDICATE_ACTION&application=123&triggerType=T...

Second e-mail sent for a new event had the remedation link of:
https://customer1.saas.appdynamics.com/#location=APP_ADJUDICATE_ACTION&application=123&triggerType=T...

I've searched through the documentation for available variables but I could not find the "triggerId" so  Ican create the proper http post payload:
https://docs.appdynamics.com/display/PRO45/Predefined+Templating+Variables

Regards,
Jason Fane

By replying you agree to the Terms and Conditions of the AppDynamics Community.
Advanced Remediation Scripts
0 REPLIES 0