startcollection
Use this command to start collection of all data collectors together or particular data collectors as per the criterion specified. Additionally, you can preview the data collectors that will be affected by the criterion that you specify.
To understand the syntax and examples, see:
Related topics
Syntax
startCollection -u <userName> -w <password> -d <hostName>
-p <portNumber> -c <criterion> -tag <TagName=TagValue>
[-l <locale>] [-y] [-v] [-s]
- Angle brackets (< >) indicate a variable value that needs to be user defined.
- Square brackets ([ ]) indicate optional parameters.
The following table describes the parameters used in the syntax:
Example inputs
The following example provides the input for starting the collection of data collectors starting with the name houston:
The following example provides the input for starting the collection of all data collectors:
The following example provides the input for stopping the collection of data collectors based on the following criteria:
- Data collectors associated with the tag name=value as OS=Windows.
- Data collectors starting with the name SSH.
-c collectorName=”SSH*” -tag OS=Windows