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

Note

Prefix this command with the following, as appropriate:

  • For Windows: itda.bat
  • For Linux: ./itda.sh

startCollection -u <userName> -w <password> -d <hostName>
-p <portNumber> -c <criterion> -tag <TagName=TagValue> [-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:

startCollection -u admin -w admin -d localhost -p 9797 -c hostName=”houston*”

The following example provides the input for starting the collection of all data collectors:

startCollection -u admin -w admin -d localhost -p 9797 -c hostName=_ALL_

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.
startCollection -u admin -w admin -d localhost -p 9797
-c collectorName=”SSH*” -tag OS=Windows

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*