cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is there an API for Server and DB health rule violations?

Sandor.Bihary
Architect

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

2 REPLIES 2

Sandor.Bihary
Architect

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

Ask the Experts Session: Hybrid Application Monitoring Deployment

Join us on Feb 26 to explore Splunk AppDynamics deployment strategies, SaaS models, agent rollout plans, and expert best practices.


Register Now

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here