Download PDF
Download page RPM Network Agent Operations.
RPM Network Agent Operations
Installing the Network Agent is generally performed as part of an overall workflow for setting up Network Visibility. The three supported workflows are:
To determine the best workflow for your environment, see Set Up Network Visibility on Linux.
Installing the RPM Agent
- Check System Requirements: See Network Visibility Requirements and Supported Environments.
- If you are installing the Network Agent as part of the Multi-Tenant Install workflow, stop each application of interest if it is monitored by an installed App Agent. You will restart each application after you install and set up the Network Agent.
- Verify that you have
sudo
orroot
access permissions on the machine where you want to install the network agent. (You do not needsudo
orroot
access to run the agent.) - Open a command prompt on the host, run the
mount
command, and check the mounted filesystem for the directory where you plan to install the agent. The filesystem should not have thenoexec
andnsuid
flags set. - Download the network-agent package to the machine.
- Verify that you have
sudo
orroot
access permissions on the machine where you want to install the agent. - Download the agent package to the machine.
- Open a terminal window and enter the following command:
sudo rpm -ivh <installer.rpm>
The network agent software is installed under/opt/appdynamics/netviz
. - To start the agent, enter the following command:
sudo service appd-netviz start
- Verify that the Network Agent is running:
sudo service appd-netviz status
- If you experience any problems or issues, see FAQs and Troubleshooting for Network Visibility.
- If you are installing the Network Agent as part of a Set Up Network Visibility on Linux workflow, proceed to the next step in the workflow:
Administering the RPM Agent
You should run the following commands as a <network_agent_user
> with permissions to configure and run the agent on the host machine.
Operation | Command | Notes |
---|---|---|
Start agent | sudo service appd-netviz start | If the agent starts successfully, you should see the following:
|
Stop agent | sudo service appd-netviz stop | If the agent stops successfully, you should see the following:
|
Restart agent | sudo service appd-netviz restart | If the agent restarts successfully, you should see the following:
|
Check agent status | sudo service appd-netviz status | The following example illustrates status output:
|
Uninstalling the RPM Agent
To uninstall the Network Agent, run the following command:
sudo rpm -e appd-netviz
This command generates no output. To confirm that the agent is removed, run the status command again: sudo service appd-netviz status