Discussion Feed
11-21-2017
01:46 AM
Many thanks yogesh.chouk, that has done it!
... View more
11-20-2017
08:13 AM
I am having some difficulty constructing a query which is able to return metric names from within a folder. I am able to successfully return the names of the folders by using the "controller/rest/applications/<application_name>/metrics" query which gives the result:
What I would like to do is to have the contents of each folder returned in an API call. For example, what would be the query needed to return the name of all of the metrics inside of the "Overall Application Performance" folder?
... View more
11-16-2017
02:36 AM
Thanks, that was my issue I was providing the wrong password!
... View more
11-15-2017
06:38 AM
Hi All
Apologises if I've missed something obvious but I've been having some difficulties accessing my hosted controller's API. I want to collect metric data programmatically and have been using Chrome's Postman extension to try and query my controller's API. I've been trying to access it using the following:
URL: https://<MyControllersName>.saas.appdynamics.com/controller/rest/applications
Headers:
user: <username>@<accountname>:<accountpassword>
However I keep getting a 401 Unauthorized response back from this. I have also tried the following as suggested here: https://docs.appdynamics.com/display/PRO41/Use+the+AppDynamics+REST+API
URL: https://<MyControllersName>.saas.appdynamics.com/controller/rest/applications
Headers:
Account: <MyAccountName>
Username: <Username>
Password: <AccountPassword>
To add a bit more context I am using the pro free trial. I have tried both my AppDynamics login name and my controller username for authentication which has both failed. The password I am using is my AppDynamics account password. I have found that controllers also have passwords however when following the instructions here: https://community.appdynamics.com/t5/Knowledge-Base/How-to-reset-the-controller-password/ta-p/24115 I am unable to get to the admin console as appending /admin.jsp to my controller's URL just timesout. As a result I've been using my AppDynamics log in account password instead.
Any help would be greatly appreciated
... View more
Latest Activity
- Posted Re: How to return data inside folders using the REST API? on Controller (SaaS, On Premise). 11-21-2017 01:46 AM
- Posted How to return data inside folders using the REST API? on Controller (SaaS, On Premise). 11-20-2017 08:13 AM
- Posted Re: Trouble accessing controller API on Controller (SaaS, On Premise). 11-16-2017 02:36 AM
- Kudoed Re: Trouble accessing controller API for Yogesh.Chouk. 11-16-2017 02:35 AM
- Posted Trouble accessing controller API on Controller (SaaS, On Premise). 11-15-2017 06:38 AM
Community Stats
Date Registered | 10-25-2017 07:45 AM |
Date Last Visited | 11-22-2017 01:46 AM |
Total Messages Posted | 4 |