Installing Machine Agent using AppDynamics Zero Agent ZFI
To ensure you meet the prerequisites and get platform support, visit the AppDynamics Agent Installer documentation.
Installation Steps:
- From the Controller UI, select Home > Agent Installer.
- From the Specify Application to Deploy to dropdown, select an existing application, or select New application and enter its name.
Example: I am creating a new application named “Abhi-ZeroAgent-Test” - Download and run the Agent Installer using either the express installation or custom installation method.
On the Server:
- Access the server where you wish to deploy ZFI (Zero Agent). This agent will help you install both the Java and Machine Agents.
- Copy the provided command and run it on the server where you wish to deploy the Java/Machine agent.
This will create anappd-*
folder in the/tmp
directory. - To deploy the Machine Agent, use the
zero-agent.sh
file. Run the following command from the same server:./zero-agent.sh install --application 'Abhi-ZeroAgent-Test' --account 'xxxx' --access-key 'xxx' --service-url 'https://xxxx.saas.appdynamics.com' --enable-sim 'true'
- Once done, your Machine Agent will be installed in the
/opt/appdynamics/zeroagent/agents/machineagent/
folder.
Making Configuration Changes:
If you wish to make any changes to the Machine Agent configuration, make the changes in the /opt/appdynamics/zeroagent/agents/machineagent/
directory.
To restart the Machine Agent with the new properties, run the following command from /opt/appdynamics/zeroagent/bin
:
zfictl restart machine
This will restart the Machine Agent with the updated configuration.