
Managing Cartridges and Metrics 105
Managing Agents
To delete an agent instance, a typical flow of actions requires you to first stop the
agent’s data collection, deactivate it, and then delete the instance. However, the
deactivate command includes options and arguments, such as -datacollection
true
, that allow you to override that flow and agent instances that are collecting data.
For information on how to activate an agent instance using the fglcmd interface, see
“activate” on page 99.
Scope
agent
Syntax
fglcmd connection_options -cmd agent:deactivate
{-agentid agent_ID|-name agent_name|
-namespace agent_namespace|-all} [-host host_name]
[-adapter adapter_ID] [-type agent_type]
[-deletable {true|false}] [-datacollection {true|false}]
[-activatable {true|false}] [-active {true|false}] [-regex]
[-force] [-nowait]
Options and arguments
Option Argument Description
activatable
true or false Indicates whether to deactivate agent
instances that can (true) or cannot be
deactivated (false).
active
true or false Indicates whether to deactivate agent
instances that are active (true) or inactive
(false).
adapter
adapter_ID An explicit text string or a regular expression
that identifies one or more vFoglight adapters.
agentid
agent_ID Identifies an instance of a vFoglight agent that
is to be deactivated.
all
None Indicates that all agent instances should be
deactivated.
Kommentare zu diesen Handbüchern