Administer the Network Agent on Windows

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 install, start and stop scripts have a -quiet option. The -quiet option runs the scripts without prompts, messages, or dialogs.

Operation Command Notes
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.

Windows でのネットワークエージェントの管理

start.bat または stop.bat を使用してネットワークエージェントを起動または停止できます。ネットワークエージェントの起動または停止には管理者権限が必要です。

AppDynamics NetViz サービスを使用して、システムで現在実行されているサービスを表示できます。