On this page:

Related pages:


Your Rating:
Results:
PatheticBadOKGoodOutstanding!
16 rates

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

 

  1. Check System Requirements: See Network Visibility Requirements and Supported Environments.
  2. 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.
  3. Verify that you have sudo or root access permissions on the machine where you want to install the network agent. (You do not need sudo or root access to run the agent.)
  4. 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 the noexec and nsuid flags set.
  5. Download the network-agent package to the machine. 
  6. Verify that you have sudo or root access permissions on the machine where you want to install the agent.
  7. Download the agent package to the machine.
  8. Open a terminal window and enter the following command: sudo rpm -ivh <installer.rpm>
    The network agent software is installed under /opt/appdynamics/netviz.  
  9. To start the agent, enter the following command: sudo service appd-netviz start
  10. Verify that the Network Agent is running: sudo service appd-netviz status 
  11. If you experience any problems or issues, see FAQs and Troubleshooting for Network Visibility.
  12. 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.

OperationCommandNotes
Start agent
sudo service appd-netviz start

 

If the agent starts successfully, you should see the following:

Starting appd-netviz (via systemctl): [  OK  ]

Stop agent
sudo service appd-netviz stop

If the agent stops successfully, you should see the following:

Stopping appd-netviz (via systemctl):  [  OK  ]

Restart agent
sudo service appd-netviz restart

If the agent restarts successfully, you should see the following:

Stopping appd-netviz (via systemctl):  [  OK  ]

Check agent status
sudo service appd-netviz status

The following example illustrates status output:

appd-netviz.service - Appdynamics Network Monitoring
  Loaded: loaded (/usr/lib/systemd/system/appd-netviz.service; disabled; vendor
  Active: active (running) since Thu 2016-09-29 14:52:42 PDT; 14s ago
  Process: 3981 ExecStart=/opt/appdynamics/netviz/bin/appd-netmon (code=exited, 
  Process: 3973 ExecStartPre=/bin/chown -R appd-netviz:appd-netviz /opt/appdynam
  Process: 3968 ExecStartPre=/bin/mkdir -p /opt/appdynamics/netviz/run/ (code=ex
 Main PID: 3983 (appd-netmon)
    Tasks: 12 (limit: 512)
   CGroup: /system.slice/appd-netviz.service
           ├─3983 /opt/appdynamics/netviz/bin/appd-netmon
           ├─3984 appd-netagent -l /opt/appdynamics/netviz/scripts/netagent/lua/
           └─3985 appd-netcor -l /opt/appdynamics/netviz/scripts/netcor/lua/

Sep 29 14:52:42 localhost.localdomain systemd[1]: Starting Appdynamics Network M
Sep 29 14:52:42 localhost.localdomain systemd[1]: Started Appdynamics Network Mo
lines 1-15/15 (END)

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



  • No labels