Controller (SaaS, On Premise)

cancel
Showing results for 
Search instead for 
Did you mean: 

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

Highlighted
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

Tags (1)
Is there an API for Server and DB health rule violations?
1 REPLY 1
Highlighted
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:)