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)

extract overall all configured alerts(Health Rule) in AppDynamics

Vikram.Mawinkatti
Adventurer

extract overall all configured alerts(Health Rule) in AppDynamics

Hello,

 

Our Appdynamics is hosted on Saas and we want to extract all health rule config details like name, effects, conditions(warning, critical), enabled/diabled ,etc.

 

We want to use a curl command or REST api to extract it.

 

Can you please help here as we hosted AppD on SaaS.

Tags (1)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
extract overall all configured alerts(Health Rule) in AppDynamics
3 REPLIES 3
Jon.Faldmo
Maker

Have you gone over the documentation already on how to do this? https://docs.appdynamics.com/display/PRO44/Configuration+Import+and+Export+API#ConfigurationImportan...

 

You will have to create a user with a password. Here is an example command with the username of restapiuser, and other generic vales in the needed fields.

curl -s --user restapiuser@customer1:password "http://controllerHost:8090/controller/healthrules/AppName" > AppNameHealthRules.out

 

 

 

 

 

sunil.vanmullem
Builder

You can also find the rest Api to use by enabling developer tools in your chrome browser and watching the rest Api calls made by the appdynamics controller ui. Also take a look at the appdynamics dexter code on github

Daniel.Odievich
AppDynamics Team

This can be done for APM applications using https://github.com/Appdynamics/AppDynamics.DEXTER, specifically in https://github.com/Appdynamics/AppDynamics.DEXTER/wiki/Configuration-Report.

For all other types of applications, that is going to be in the next release per https://github.com/Appdynamics/AppDynamics.DEXTER/wiki#future-roadmap



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.