Discussion Feed
03-10-2020
11:43 AM
Is there any (more detailed) documentation and/or other information that can be shared re: the REST API for querying data on the attributes of Synthetic Monitoring Sessions that have been executed? There is the one community article titled " How do I enable or disable synthetic jobs programmatically using the API?" https://community.appdynamics.com/t5/Knowledge-Base/How-do-I-enable-or-disable-synthetic-jobs-programmatically-using/ta-p/23455 which provides a working use case, but it is limited to one specific REST operation. What are our additional options? I am interested specifically, in pulling the log that would be displayed for any one Session by clicking on the button labelled "Show Script Output". Want to do that to extract lines matching a regex pattern we would supply, pull out one or more data points resulting from calculations that we perform in the script and write to the session log. Want to do that on a bulk basis, rather than perform on an individual copy-and-paste out of each log.
... View more
05-02-2019
04:43 AM
1 Kudo
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 more
04-26-2019
10:51 AM
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...
... View more
Latest Activity
- Posted Is there information on using REST API to query details of Synth Scheduled Session results ? on End User Monitoring (EUM). 03-10-2020 11:43 AM
- Got a Kudo for Re: How can I access avaialability status of sythentic jobs via REST API?. 10-11-2019 10:28 AM
- Posted Re: How can I access avaialability status of sythentic jobs via REST API? on Controller (SaaS, On Premise). 05-02-2019 04:43 AM
- Posted How can I access availability status of synthetic jobs via REST API? on Controller (SaaS, On Premise). 04-26-2019 10:51 AM
Community Stats
Date Registered | 02-21-2019 12:25 PM |
Date Last Visited | 03-14-2020 10:01 AM |
Total Messages Posted | 3 |
Total Kudos Received | 1 |