Command Line Reference Guide

Managing Cartridges and Metrics 99
Managing Agents
-cmd agent:delete -name Agent4
Note If successful, this command does not generate any output.
See also
•“deploy” on page 86
•“create” on page 91
•“activate” on page 99
•“deactivate” on page 104
•“start” on page 108
•“stop” on page 112
Activating or Deactivating Agent Instances
This section describes the following commands:
•“activate” on page 99
•“deactivate” on page 104
activate
The activate command enables one or more vFoglight agent instances.
To create an agent instance that collects data, you first create the agent instance, activate
it, and then start the data collection for that agent instance. Similarly, when you want to
remove an agent instance, use a reverse order of actions: first stop the agent instance,
deactivate it, and then delete it.
For information on how to create an agent instance, see “create” on page 91; to find out
how to deactivate an agent, see “deactivate” on page 104.
Scope
agent
Syntax
fglcmd connection_options -cmd agent:activate
{-agentid agent_ID|-name agent_name|
-namespace agent_namespace|-all} [-host host_name]