You install the Network Agent as part of an overall workflow for setting up Network Visibility. The supported workflows are:
See Set Up Network Visibility on Linux.
The NetViz Agent needs to be started separately from the Machine Agent when using a bundled approach.
Install the ZIP Network Agent
You can install the Agent using the Machine Agent or the Network Agent ZIP. You can install the Network Agent as an extension using the Machine Agent installer. This option is available on Linux 32-bit and 64-bit ZIP installers, >= 4.4.2, only. Enter the following command, where The parent path should not include any directory names with spaces:Install Using the Machine Agent ZIP
sudo
: cd
<machine-agent-home>/NetVizExtension/agent/
sudo ./install.sh
NetVizMonitoring
extension: <machine-agent-home>/NetVizExtension/conf/netVizExtensionConf.yml
start
setting to true
and save the file.NetVizMonitoring
extension should start automatically. To start the Agent on Linux, enter:
<machine_agent_home>/bin/machine-agent -d -p <machine_agent_home>/pidfile
<machine-agent-home>/NetVizExtension/agent/bin
/appd-netviz.sh status
The output provides the process ID (PID) of the Network Agent process.
See FAQs for Network Visibility.Install Using the Network Agent ZIP
sudo
or root
access permissions on the host where you want to install the Network Agent. (You do not need sudo
or root
access to run the Agent.)mount
command, and check the mounted file system for the directory where you plan to install the agent. The file system should not have the noexec
and nsuid
flags set.network-agent
package to the machine. cd
to the folder where you downloaded the Network Agent ZIP package.<network_agent_home>
is the folder where you want to install the Agent software:unzip <installer.zip> -d <network_agent_home>
/opt/appdynamics/networkVisibility
(correct) /opt/appdynamics/network visibility
(incorrect)
chown -R <network-agent-user-group>:
<network-agent-user>
<network-agent-home>
network_agent_home
> and run the install script:cd
<network-agent-home>
./install.sh
network_agent_user
>:<network-agent-home>/bin/start.sh
<network-agent-home>/bin/appd-netviz.sh status
The output provides the process ID (PID) of the Network Agent process.
Administer the ZIP Network Agent
Run commands as <network_agent_user>
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 | <network-agent-home>/bin/start.sh | If the Agent starts successfully, the following displays:
|
Stop Agent | <network-agent-home>/bin/stop.sh | If the Agent stops successfully, the following displays:
|
Check Agent status | <network-agent-home>/bin/appd-netviz.sh status | This command shows whether the Agent is running or not. The following displays:
|
Restart Agent | <network-agent-home>/bin/appd-netviz.sh restart | If the Agent restarts successfully, the following displays:
|
Uninstall the ZIP Network Agent
- Open a terminal and
cd
to the<network-agent-home
>
directory. - Stop the Agent by entering:
./bin/stop.sh
cd
to the<network-agent-home>
parent directory:cd ..
- Remove the Agent directory by entering:
rm -rf <network-agent-home>
Add Comment