cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Abhi.Bajaj
AppDynamics Team

Download The Smart Agent from

Screenshot 2024-03-29 at 11.34.29 PM.png

You can curl the download as well to your Linux box.

AppDynamics Smart Agent requires pip3 to be present and appdsmartagent folder should be where we will install smart agent, So if you don’t have it. Please run the below->

mkdir /opt/apppdynamics/appdsmartagent
sudo apt update
sudo apt install -y python3-pip
cd /opt/appdynamics/appdsmartagent

Once you have these setup, curl the Zip artifactory

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 the content and run install-script.sh, In this case

unzip appdsmartagent_64_linux_24.2.0.1472.zip
unzip appdsmartagent_64_linux_24.2.0.1472.zip

Add the configuration inside of /opt/appdynamics/appdsmartagent/config.ini

vi /opt/appdynamics/appdsmartagent/config.ini

You are required to configure Smart Agents to register with the Controller.
Edit the /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.

Once done. Start the Smart Agent with the below:

systemctl start smartagent.service

You can check the status 

Screenshot 2024-03-29 at 11.34.52 PM.png

The first part is done.

Now let’s install a Machine agent.

  • Once your Agent is started
  • Please go to controller.com/controller/#/apm/agent-management-install-agents
  • On the Install Agents page, where it says "Select Agent Attributes' select 'Machine'
Screenshot 2024-03-29 at 11.35.14 PM.png

Under 'Select where to Deploy Agents' 

  • Add your Host where you installed Smart Agent and move to the left
  • Click 'Apply' and then click 'Done'
Screenshot 2024-03-29 at 11.35.28 PM.png

Once this is done, you can install it with DEFAULT config, or you can set Customer Agent attributes.

But if you wish to pass more information, you can get the key : value example from Cisco AppDynamics Docs: Ansible Configuration for Machine Agent. 

For example:
controller_account_access_key: "123key"  

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. 

Screenshot 2024-04-18 at 6.57.09 PM.png

Ansible Configuration for Machine Agent

In Linux and Windows, the Ansible role starts and runs the Machine agent as a service during installation, upgrade, and…

Screenshot 2024-04-18 at 6.56.53 PM.png

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.

 

Version history
Last update:
‎04-18-2024 09:57 AM
Updated by: