Install the Network Agent Independent of Machine Agent
You can install and run the Network Agent independently of the Machine Agent using the ZIP, RPM, or DEB installers.
ZIP Network Agent Install
- If you are using Network Visibility to monitor applications running in Docker containers, you must install the Network Agent in a container as well. See Docker and Network Visibility.
- To run the install script, log in as root.
- For all other operations, log in as the designated agent administrator (<appd-agent-administrator>) for that host.
RPM Network Agent Install
- Check System Requirements. See Network Visibility Supported Environments.
- If you are logged in to the Agent host as a non-root user, log out and then log back in as
root
. - Access the AppDynamics Downloads Portal and download the Network Agent installer.
- Open a terminal window and enter these commands:
sudo rpm -ivh <installer.rpm>
(installs the Agent underopt/appdynamics/netviz
)
(starts the Agent)sudo service appd-netviz start
(verifies that the Agent is running)sudo service appd-netviz status
- If you experience any problems or issues, see FAQs for Network Visibility.
- If you are installing the Network Agent as part of a Set Up Network Visibility on Linux workflow, proceed toSet Up the Network and App Agents on Linux.
DEB Network Agent Install
- Check System Requirements. See Network Visibility Supported Environments.
- If you are logged in to the Agent host as a non-root user, log out and then log back in as
root
. - Access the AppDynamics Downloads Portal and download the Network Agent installer.
- Open a terminal window and enter the following commands:
sudo dpkg -i <
installer.deb>
(installs the Agent underopt/appdynamics/netviz
) (starts the agent, outputs"
")appd-netviz start/running. process <pid #>
(verifies the Agent status)sudo service appd-netviz status
- If the Agent does not start, enter:
sudo service appd-netviz start
. - If you experience any problems or issues, see FAQs for Network Visibility.
- If you are installing the Network Agent as part of a Set Up Network Visibility on Linux workflow, proceed toSet Up the Network and App Agents on Linux.
Install the Network Agent in a Docker Container
The Network Agent can monitor applications running in Docker containers on the same host. You can deploy one Network Agent per host and collect individual metrics for every local application monitored by a Java App Agent in a container.
AppDynamics recommends that you install the Network Agent in a separate container inDocker Host network mode on the same host as the application containers. This recommendation applies when the App Agent containers are running in Docker Bridge or Docker Host mode.
Example 1: App Agents in Separate Network
Example 2: App Agents in Host Network
Install the Network Agent and App Agents
Specify the Docker Host Gateway IP on the App Agent
If you are running the App Agent in a Docker container outside of the Docker Host network (as shown in Example 1 in the diagram), complete these steps.
Specify the Docker Host Gateway IP on the App Agent
If you are running the App Agent in a Docker container outside of the Docker Host network (as shown in Example 1 in the diagram), complete these steps.
Install the Network Agent as an Extension of the Machine Agent (Bundled)
You can install and run the Network Agent as an extension of the Machine Agent (ZIP only) if you want to install both Agents at the same time.
- If you are using Network Visibility to monitor applications running in Docker containers, you must install the Network Agent in a container as well. See + Docker and Network Visibility.
- To run the install script, log in as root.
- For all other operations, log in as the designated agent administrator <appd-agent-administrator> for that host.