How do I get the AppDynamics App agent to download using Linux terminal?
Question ID: 106823
0
0

I am trying to download a java agent on a linux terminal using wget and I cannot get past the sign-in page, even though I am sending the user name and password in the request.

Marked as spam
Posted by (Questions: 89, Answers: 0)
Asked on April 29, 2016 2:35 pm
372 views
Answers (1)
0
Private answer

In order to successfully get the agent from the AppDynamics site, please use the below syntax.

wget --save-cookies cookies.txt --post-data 'username=username@domain.com&password=password' --no-check-certificate https://login.appdynamics.com/sso/login/

This will create a cookies.txt file that will allow you to pass your username and password correctly in the next command.

wget --load-cookies cookies.txt https://download.appdynamics.com/onpremise/public/archives/4.2.1.6/AppServerAgent.zip -O agent.zip

This will download the agent and put it in t folder named agent.zip.

Marked as spam
Posted by (Questions: 0, Answers: 90)
Answered on April 29, 2016 2:47 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top