Page tree

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:

Syntax

Note

Prefix this command with the following, as appropriate:

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

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:

ParameterDescription
-c

Criterion to be used for moving collectors.

This parameter must be specified in the format key=value, as follows:

collectorName="<Data Collector Name>"
where <Data Collector Name> refers to the name of the data collector that you want to move.

Notes:

  • The value provided must be enclosed in double quotes.
  • The value can be a comma-separated list of names. For example, collectorName="Collector1,Collector2,Collector3".
  • To move multiple data collectors with a similar name, you can use asterisk (*) as a wildcard character to substitute portions of the value. For example, collectorName="*access*".
-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

Example inputs

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

 

 

  • No labels