Depending on how you installed and deployed the Network Agent, you may have 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 section describes how to administer the Network Agent using command-line tools for the Network Agent ZIP. The Network Agent can be managed using the following commands:
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 3 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
stop scripts have a
-quiet option. The
-quiet option runs the scripts without prompts, messages, or dialog boxes.
If the agent starts successfully, the following message is displayed:
Starting the network agent service
|Check agent status|
This command shows if the agent is running or not.
If the agent stops successfully, the following message is displayed:
If the agent uninstalls successfully, the following message is displayed:
Managing Network Agent on Windows
You can start or stop the Network Agent using
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.