Splunk AppDynamics

How can I access availability status of synthetic jobs via REST API?

John_Aquilino
Engager

Have a need to query AppDynamic controller via REST API.  Looking specifically for retrieving the most recent availability status of one or more Synthetic request Jobs.  Unclear how one might do that from existing documentation...

Labels (3)
0 Karma
1 Solution

John_Aquilino
Engager

Going to post a response to my own query here, in case this helps anyone else.

Have not found a mechanism of querying the status of synthentic jobs via REST API, but what we have been able to do is:

Define a Policy for the job(s)

Use the "Alerts and Respond API" (https://docs.appdynamics.com/display/PRO45/Alert+and+Respond+API) to query for Events using an event-type of POLICY_OPEN_CRITICAL,POLICY_CLOSE_CRITICAL

One downside is a Policy must have an Action associated with it.  Our controller is SaaS, so our options to use custom actions is limited, we ended up defining a Email action and post the email to a "Black-hole" mailbox.

View solution in original post

John_Aquilino
Engager

Going to post a response to my own query here, in case this helps anyone else.

Have not found a mechanism of querying the status of synthentic jobs via REST API, but what we have been able to do is:

Define a Policy for the job(s)

Use the "Alerts and Respond API" (https://docs.appdynamics.com/display/PRO45/Alert+and+Respond+API) to query for Events using an event-type of POLICY_OPEN_CRITICAL,POLICY_CLOSE_CRITICAL

One downside is a Policy must have an Action associated with it.  Our controller is SaaS, so our options to use custom actions is limited, we ended up defining a Email action and post the email to a "Black-hole" mailbox.

Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...