Use this command to move data collectors from one or more hosts (where the Collection Stations or Collection Agents are installed) to the target host based on the criterion specified. Additionally, you can preview the data collectors that will be affected by the criterion that you specify.
Note
This command is not supported for the following data collectors:
To understand the syntax and examples, see:
Note
Prefix this command with the following, as appropriate:
movecollectors -c <criterion> -d <hostName> -p <portNumber> -u <userName> -w <password> -t <targetHostName> [-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:
Parameter | Description |
---|---|
-c | Criterion to be used for moving collectors. This parameter must be specified in the format
Notes:
|
-d | MultiExcerpt named host was not found -- Please check the page name and MultiExcerpt name used in the MultiExcerpt-Include macro |
-p | MultiExcerpt named port was not found -- Please check the page name and MultiExcerpt name used in the MultiExcerpt-Include macro |
-u | MultiExcerpt named username was not found -- Please check the page name and MultiExcerpt name used in the MultiExcerpt-Include macro |
-w | MultiExcerpt named password was not found -- Please check the page name and MultiExcerpt name used in the MultiExcerpt-Include macro |
-t | Name of the Collection Station (or Collection Agent) where the data collectors need to be moved. |
-y | MultiExcerpt named preview was not found -- Please check the page name and MultiExcerpt name used in the MultiExcerpt-Include macro |
-v | MultiExcerpt named version was not found -- Please check the page name and MultiExcerpt name used in the MultiExcerpt-Include macro |
-s | MultiExcerpt named ssl was not found -- Please check the page name and MultiExcerpt name used in the MultiExcerpt-Include macro |
The following example provides the input for moving the data collectors starting with the name pun*
:
movecollectors -c collectorName=pun* -d localhost -p 9797 -u admin -w admin -t collection-station_WRG-13.bmc.com
The following example provides the input for moving multiple data collectors as per the names specified:
movecollectors -c collectorName=punWindowsEvents,punScriptOverSSH -d localhost -p 9797 -u admin -w admin -t collection-station_WRG-13.bmc.com