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

Community access restored to most members


I've been able to make some changes to restore community engagement access to most members.

Follow the blog post for up to date information



We thank you for your patience while we get this fixed


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