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.
06-28-2018 04:51 PM
How can I use the rest api to create Health rules and the health rule metrics?
Solved! Go to Solution.
06-29-2018 05:32 AM
Hi Alicia,
Health rule cannot be created through REST API, though we can import and export the health rule.
-Thanks
07-06-2018 04:20 PM
Hi Pratik,
I was able to export and import the health rule using the instructions on the link that you sent below. Thank you! I have another question related to Health rules for MQ but I'm not sure if you can answer it here or if I need to post a new question. I'm trying to set the health rules condition so that if the current queue depth is greater than 10% of the maximum queue depth, an alert is sent out. I am currently hard coding the value because I don't see the option of specifying the percentage. I've attached a screen shot for you to view.
Thank you,
Alicia
05-03-2021 07:19 AM - edited 05-03-2021 09:20 AM
Hi,
Now we can add/update health rule using the specified JSON payload following this: https://docs.appdynamics.com/display/PRO21/Health+Rule+API
Sebastien
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form