Splunk AppDynamics

How to Obtain a Triggered Health Rule Alert/Event Programmatically (Java)

Malvon_Kamil
New Member

Hi,

I have a need to periodically pull a specific health rule to identify whether a violation has occurred. This needs to be done through a Java program in order to trigger some other events in our applications.

I understand that AppDynamics offers several health rule related APIs, specified here: https://docs.appdynamics.com/21.3/en/extend-appdynamics/appdynamics-apis/alert-and-respond-api/healt...

However, I cannot find one to provide a health rule is being violated at a given time.

My question is, is there such API exposed by App Dynamics to listen to such event by periodically pulling such information, preferably an HTTP request?

Labels (1)
0 Karma

Hiroki_Ito
Contributor

Hi @Malvon.Kamil ,


Thank you for posting to the community.

There is an API which returns all health rules violations for a given application.
Please see document below and search for "Retrieve All Health Rule Violations in a Business Application".

Retrieve All Health Rule Violations in a Business Application

Returns all health rule violations that have occurred in an application within a specified time frame. 

Best Regards,
Hiroki
Get Updates on the Splunk Community!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

Stay Connected: Your Guide to October Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...