Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
04-18-2024 10:54 AM - edited 09-10-2024 09:50 AM
mkdir /opt/appdynamics/appdsmartagent
sudo apt update
sudo apt install -y python3-pip
cd /opt/appdynamics/appdsmartagent
curl -L -O -H "Authorization: Bearer xxxxx.xxxx.xxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxx;" "https://download.appdynamics.com/download/prox/download-file/appdsmartagent/24.2.0.1472/appdsmartagent_64_linux_24.2.0.1472.zip"
unzip appdsmartagent_64_linux_24.2.0.1472.zip
unzip appdsmartagent_64_linux_24.2.0.1472.zip
./install-script.sh
vi /opt/appdynamics/appdsmartagent/config.ini
/opt/appdynamics/appdsmartagent/config.ini
file for the required Smart Agent configuration.Ensure that you update the following parameters:
ControllerURL
: The URL of the Controller on which you want to establish the connection with the Smart Agent.ControllerPort
:FMServicePort:
The port to which the Smart Agent connects to the FM service (Agent Management). It is 8090 for an on-premises Controller and 443 for a SaaS Controller.AccountAccessKey
: The account access key on the Controller.AccountName
: The account name on the Controller to which the Smart Agent will report.An example for above:
ControllerURL = https://support-controller.saas.appdynamics.com
ControllerPort = 443
FMServicePort = 443
AccountAccessKey = abcd-ahsasasj-asbasas
AccountName = controllerces
Once done. Start the Smart Agent with the below:
systemctl start smartagent.service
You can check the status
The first part is done.
NOTE: Your controller-host, port, access-key, and accountName are already passed. You can select SIM (Server Visibility) and SSL enabled based on your needs. I am marking JRE Support enabled as well.
In Linux, the Ansible role starts and runs the Machine agent as a service during installation, upgrade, and…
Once done, the agent will take 10–15 minutes to show up on your Controller.
It will be automatically installed and be in a running state. Logs can be located at /opt/appdynamics/machine-agent folder.
Love the article, can you follow-up with a fully explained config.ini
QUESTION: Can you provide and explanation of all the Parameters as you did above (as they have been expanded in v24.6 config.ini, and need to be expanded further).
(in this type layout)
Ensure that you update the following parameters:
And add some backstory detail as to when some of the optional ones may be helpful/needed?
Provide naming convention for AgentName & AgentType if the Agent Management console require a specific format.
Thanks!
Lloyd Lachnite
Hi Lloyd Lachnite
Below are the required ones to start Smart Agent
ControllerURL: The URL of the Controller on which you want to establish the connection with the Smart Agent.
ControllerPort :
FMServicePort: The port to which the Smart Agent connects to the FM service (Agent Management). It is 8090 for an on-premises Controller and 443 for a SaaS Controller.
AccountAccessKey: The account access key on the Controller.
AccountName: The account name on the Controller to which the Smart Agent will report.
If you have question for a specific use case then I will request you to file a Support ticket.
But for few, If your Smart Agent <-> Controller requires TLS then you will fill in below
[TLSSetting]
CAFile =
CertFile =
KeyFile =
MinVersion = TLS 1.2
MaxVersion = TLS 1.3
Oauth can be utilized if you are creating a service principal rather then using AccessKey to authenticate with the controller.
You can also use Proxy variables
AgentHTTPProxy =
AgentHTTPSProxy =
I did not see these Parameters listed:
AgentProxyPort = Port has always been a seperate parameter in AppD ????
AgentProxyUser = (for authentication) ????
AgentProxyPassword = (for authentication) ????
Please provide some documentation on these Parameters.
With latest versions only required parameters are getting placed in config.ini when you download SmartAgent.
Now port are passed directly with url as documented, example : http://localhost:3128
All the variables / configuration you can pass can be found here:
https://docs.appdynamics.com/appd/24.x/24.7/en/agent-management/smart-agent/get-started
For Username and password, The url will become
AgentHTTPProxy = "http://user:pass@proxy.localhost.com:3128"
This is how you pass proxy information generally when making curl requests.
Hi, I'm not able to find the install script (./install-script.sh )inside zip folder
I've downloaded 24.10 version.
Thanks in advanced.
@Jose Antonio.Jimenez
For 24.10 version, There won't be any install-script.sh
You need to directly run
sudo ./smartagentctl start --service
You can refer to
https://docs.appdynamics.com/appd/24.x/24.11/en/agent-management/smart-agent/get-started
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form