Depending on how you installed and deployed the Network Agent, there may be more than one method to administer the Network Agent. AppDynamics provides both GUI and command-line tool for common operations, such as starting and stopping Network Agents and their services. See Managing Network Agents in the Controller.

This page describes how to administer the Network Agent using command-line tools for the Network Agent ZIP. You can manage the Network Agent using these commands:

  • install
  • start
  • status
  • stop
  • uninstall

Ensure that you run all the scripts using administrator privilege. If you run the scripts without administrator privilege, the scripts prompt for the privilege request after a three second timeout. You can start these scripts from Windows Explorer or from the command line. If you run the scripts from the command line, the installstart and stop scripts have a -quiet option. The -quiet option runs the scripts without prompts, messages, or dialogs. 

OperationCommandNotes
Install Agent\<network-agent-home>\install.bat

The install.bat installs the Network Visibility Agent and starts the AppDynamics Network Visibility Service.

Start Agent\<network-agent-home>\start.bat

If the Agent starts successfully, this message displays:

Starting the network agent service

SERVICE_NAME: NetVizService
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_PRESHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
PID : 7556
FLAGS :

Check Agent status\<network-agent-home>\status.bat

This command shows if the Agent is running or not.

SERVICE_NAME: NetVizService
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_PRESHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

Stop Agent\<network-agent-home>\stop.bat

If the Agent stops successfully, this message displays:

SERVICE_NAME: NetVizService
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

Uninstall Agent\<network-agent-home>\uninstall.bat

If the Agent uninstalls successfully, this message displays:

Stopping service NetVizService.
NetVizService is stopped.
Service AppDynamics NetViz Service uninstalled.

Manage Network Agent on Windows

You can start or stop the Network Agent using start.bat or stop.bat. You require admin privileges to start or stop the Network Agent. 

 You can view the services that are currently running on the system using AppDynamics NetViz Service.