cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Controller (SaaS, On Premises)

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

Sandor.Bihary
Architect

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

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)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
Is there an API for Server and DB health rule violations?
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:)

Ovesnel.Mas Lara
AppDynamics Team

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