Discussion Feed
07-06-2020
07:55 AM
1 Kudo
Hey Lyubo AppDynamics will only publish their public API's, which they support and will be standardized. Sometimes these don't have the functionality we require. The easiest way to find one that are not documented is to use developer options, load the page/data in the UI, and check what calls it's making:) However Appdynamics will also tell you these are subject to change anytime, as they are not meant to be used this way. Ciao
... View more
07-06-2020
07:17 AM
1 Kudo
Hey Lyubo You can do it the following way Query Auth, to get Token etc. curl -i --user <username>@<accountname>:<password> https://<controller details>/controller/auth?action=login Then you query the following curl -i -H "Cookie:JSESSIONID=47a106d019813087b904e61f680e;" -H "X-CSRF-TOKEN:f62197d00f39a1fbd5e30852985926173c6328ea" -H "Content-Type: application/json" -H "Accept: application/json" https://<controller details>/controller/sim/v2/user/machines/<machine id> It brings back everything, including the tags Ciao
... View more
07-05-2020
06:52 AM
1 Kudo
Hi David As Weblogic is built using Java, you would use the Java App Agent
... View more
07-05-2020
06:46 AM
07-05-2020
06:46 AM
Hi there There are special characters you have to escape e.g commas A working getter chain would be like This will also remove the " and just return the number getData().toString().split(customerId": ).[1].split(").[0] To change your one to a working one it would like below getData().toString().split("customerId":).[1].split(\,).[0] Ciao
... View more
07-05-2020
04:17 AM
2 Kudos
Hi There This is what i did, in 3 steps, you can use an automation tool, or just create a script that iterates through the apps,nodes and output it to a CSV. 1. Query Applications API to get the Application Names & IDs https://<controller details>/controller/rest/applications?output=JSON 2. Query REST API to get Node Id's per application(Will output App Agent & Machine agent), example will get metrics for last 60 minutes https://<controller details>/controller/rest/applications/<Application Name>/nodes?output=JSON&time-range-type=BEFORE_NOW&duration-in-mins=60 3. Use the IDs to query another API to output the availability you see in the UI POST https://<controller details>/controller/restui/v1/nodes/list/health/ids Body of Request(Please replace start_time & end_time with the epoch times you require) {"requestFilter":[<comma seperated list of node id's>],"resultColumns":["LAST_APP_SERVER_RESTART_TIME","VM_RUNTIME_VERSION","MACHINE_AGENT_STATUS","APP_AGENT_VERSION","APP_AGENT_STATUS","HEALTH"],"offset":0,"limit":-1,"searchFilters":[],"columnSorts":[],"timeRangeStart":<start_time>,"timeRangeEnd":<end_time>} This will output the availability that you see in the UI, for the time period you selected
... View more
07-05-2020
03:44 AM
1 Kudo
Hi there You can use the below two ways to delete Applications and Tiers via the API First step as you know is to run the auth query to get the JSESSIONID & X-CSRF-TOKEN Get Auth Details curl -i --user <username>@<accountname>:<password> https://<controller details>/controller/auth?action=login Applications To Delete an application, you can use the default API, to get the ID's of the application, once you have the ID of the application you want to delete you can use the following query curl -X POST -H "Cookie:JSESSIONID=e81ba25c363b479b16d49ccc8e75;" -H "X-CSRF-TOKEN:ab45ea344e5178f08862g03f4f4a4ddb25910934" -H "Content-Type: application/json" -H "Accept: application/json" https://<controller details>/controller/restui/allApplications/deleteApplication --data "<application ID>" The same for Tiers Use the default API's to get the ID's of the tiers you want to delete(ComponentID) and then tun the following query curl -X DELETE -H "Cookie:JSESSIONID=e81ba24c303be79b16d49ccd8e75;" -H "X-CSRF-TOKEN:ab45ea334e7178f00862f03f4f4a4ddb25910934" -H "Content-Type: application/json" -H "Accept: application/json" https://<controller details>/controller/restui/components/deleteComponent/<componentid> Ciao
... View more
07-05-2020
02:51 AM
Hi there Does anyone have a way to manipulate the time in an alert template. It'showing the event time in UTC time, not in the customer's time We have SaaS Controllers which are in Europe however the customer is in a different timezone, however from AppD Support it seems we cannot update the time in the Alert. This obviously causes confusion when the customer sees the event time is out by a couple of hours Surely there is a way to add/subtract hours in the template itself? Any help is appreciated:)
... View more
- Tags:
- alert
- SaaS controller
07-05-2020
02:29 AM
Hi Caleb Could you provide some more info around what you are setting up.. 1. What SAML Provider are you using, Azure Ad etc.? 2. Can you document a step by step setup procedure you followed? 3. I am assuming you are getting that error, after authenticating with your SAML IdP, when the IDP provider posts back the response to AppDynamics? TO check this, you can install a SAML tracing extension in your browser, and then you can have a look at what SAML posts are being generated, that will significantly help in understanding where the problem is.
... View more
07-04-2020
09:45 AM
1 Kudo
07-04-2020
09:45 AM
1 Kudo
Hi There I will check on the length one, should be straightforward To strip out e.g typeCode, you can use below, I use this quite a lot toString().split(<typeCode>).[1].split(</typeCode>).[0] Ciao
... View more
07-03-2020
05:37 AM
1 Kudo
Hi there You should be able to cast to a string and do a split, which should remove everything after the first comma toString().split(,).[0] or toString().split(,).[1] Should be one of the 2 above, don't have my notes with me to validate:)
... View more
- « Previous
- Next »
Latest Activity
- Posted Re: Java agent not reporting in appd controller after the finished patching. on Java (Java Agent, Installation, JVM, and Controller Installation). 02-24-2021 09:59 PM
- Posted Re: Tomcat Java Agent - Query Parameters on Java (Java Agent, Installation, JVM, and Controller Installation). 02-24-2021 09:55 PM
- Posted Re: Monitoring IIS application pool on NET (Agent, Installation). 02-23-2021 11:58 PM
- Got a Kudo for Re: Congratulations to recipients of one AppDynamics Certification during 2020. 02-22-2021 05:24 PM
- Got a Kudo for Re: How to create an appKey when an application already exists?. 02-22-2021 10:56 AM
- Posted Re: How to create an appKey when an application already exists? on End User Monitoring (EUM). 02-20-2021 12:06 AM
- Posted Re: How to create an appKey when an application already exists? on End User Monitoring (EUM). 02-18-2021 10:36 AM
- Got a Kudo for Re: How to create an appKey when an application already exists?. 02-18-2021 09:56 AM
- Posted Re: How to create an appKey when an application already exists? on End User Monitoring (EUM). 02-18-2021 09:08 AM
- Kudoed Instrumentation Detection Prority for Sam.Fowler. 02-18-2021 04:30 AM
- Posted Re: How to create an appKey when an application already exists? on End User Monitoring (EUM). 02-16-2021 10:04 PM
- Got a Kudo for Re: Congratulations to recipients of one AppDynamics Certification during 2020. 02-15-2021 11:09 PM
- Got a Kudo for Re: Congratulations to recipients of one AppDynamics Certification during 2020. 02-15-2021 09:25 AM
- Posted Re: Congratulations to recipients of one AppDynamics Certification during 2020 on News and Announcements. 02-14-2021 01:34 AM
- Posted Re: No data available and nothing feeds dashboard after configure JavaScript Agent on Controller (SaaS, On Premise). 02-10-2021 01:27 AM
- Posted Re: No data available and nothing feeds dashboard after configure JavaScript Agent on Controller (SaaS, On Premise). 02-09-2021 11:30 PM
- Posted Re: No data available and nothing feeds dashboard after configure JavaScript Agent on Controller (SaaS, On Premise). 02-09-2021 10:29 PM
- Got a Kudo for Re: jsnlog.logger is being logged as error in business transactions. 02-03-2021 09:46 AM
- Got a Kudo for Re: ERROR NetVizAgentRequest - Fatal transport error while connecting to URL. 02-03-2021 09:44 AM
- Posted Re: jsnlog.logger is being logged as error in business transactions on End User Monitoring (EUM). 02-02-2021 11:18 PM
Community Stats
Date Registered | 07-03-2019 02:39 AM |
Date Last Visited | 02-27-2021 10:46 PM |
Total Messages Posted | 108 |
Total Kudos Received | 70 |