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
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:)
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