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
04-21-2020 11:27 PM - last edited on 04-22-2020 09:55 AM by Ryan.Paredez
Hi All!
I want to get health rule violations via API from the controller.
For applications, it works well. I followed this guide: https://docs.appdynamics.com/display/PRO45/Events+and+Action+Suppression+API
Though, I want to extract the health rules and the violations for Servers and Databases as well. But I did not find the correct API endpoint for these.
Has anyone tried similar before?
Any clue/hint would be much appreciated
Best,
Sandor
04-23-2020 11:09 PM - last edited on 04-24-2020 12:18 PM by Ryan.Paredez
Hi Everyone!
Just quick update.
With this we can find DB related events:
//controller/rest/applications/_dbmon/events?time-range-type=BEFORE_NOW&duration-in-mins=10&event-types=%20AGENT_EVENT,DB_SERVER_CHANGE,POLICY_OPEN_CRITICAL,POLICY_OPEN_WARNING,POLICY_CONTINUES_CRITICAL&severities=INFO,WARN,ERROR"
I just need to figure out how we can do Server related stuff:)
09-22-2021 01:55 PM - last edited on 09-23-2021 08:37 AM by Ryan.Paredez
Thank you @Sandor.Bihary
Did you find any other API endpoint similar to this one: "/controller/rest/applications/{{application_id}}/problems/healthrule-violations" but for Data Bases?
BR,
Ovesnel
User | Count |
---|---|
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