Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
08-16-2017 07:45 AM - last edited on 05-05-2020 01:58 PM by Ryan.Paredez
Hello,
I want to create health rules and policies using API for my monitoring checks. Can you please provide me a specific link for documentation>
Any sample script would also be helpful.
^ Edited by @Ryan.Paredez to improve the title and readability of the post.
Solved! Go to Solution.
08-16-2017 12:20 PM - last edited on 05-05-2020 01:59 PM by Ryan.Paredez
Hi,
Importing and Exporting Health Rules and Policies are described with examples in the Configuration Import and Export API section of the docs.
Here are additional links
When you want to create health rules and policies using the API, you will typically start with an existing rule or policy, export it, modify it, then import it back into the same or different application or Controller. When you import a health rule or policy, you need to be careful that the assets it refers to (Metrics, Actions, etc.) exist in the target application or Controller.
Regards,
Brian Wheeldon
^ Edited by @Ryan.Paredez for formatting.
Brian Wheeldon, Solution Engineer, NYC
08-17-2017 05:47 AM - last edited on 05-05-2020 02:00 PM by Ryan.Paredez
Update: my reply was posted this morning, not sure what happened when i tried to do it yesterday,
You can use the following link to for API to export the health rules
here is the link for import:
You will need to export one health check rule in order to understand and once you are comfortable updating the xml, you can update and import into the controller.
User | Count |
---|---|
3 | |
2 | |
2 | |
2 | |
2 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form