applycollectionprofilestohost
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.
To understand the syntax and examples, see:
Related topics
Syntax
applycollectionprofilestohost -d <hostName> -p <portNumber> -u <userName>
-w <password> -host <targetHost> -cp <listOfCollectionProfiles>
-agent <associatedAgent> [-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 moving the data collectors starting with the names punWin and punLin:
applycollectionprofilestohost -u admin -w admin12345 -p 9797
-d localhost -host Winhost -cp OracleDBCP, ITDAMetricsCP
-agent collection-station_HOU02.bmc.com
-d localhost -host Winhost -cp OracleDBCP, ITDAMetricsCP
-agent collection-station_HOU02.bmc.com
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*