applycollectionprofilestohost CLI command


Use this command to associate one or more collection profiles to a host. Doing this can enable you to automatically create data collectors based on the templates included in the collection profiles.

Syntax

Warning

Note

Before you run the command, note the following points:

 

applycollectionprofilestohost -d <hostName> -p <portNumber> -u <userName> -w <password> -host <targetHost> -cp <listOfCollectionProfiles> -agent <associatedAgent> [-l <locale>] [-y] [-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 associating the following collection profiles:

  • "OracleDBCP"
  • "ITDAMetricsCP" imported via the content pack, "ITDA Pack".
applycollectionprofilestohost -u admin -w admin12345 -p 9797 -d localhost -host Winhost -cp OracleDBCP, ITDAMetricsCP [ITDA Pack] -agent collection-station_HOU02.bmc.com

 

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

BMC TrueSight IT Data Analytics 11.3