Use this command to import data collectors from a .csv file into the product.
If the .csv file you want to use is generated by using the exportcollector CLI command and this file contains the Monitor file over SSH and Monitor file over Windows Share data collectors, then before you run this command, ensure that you edit the .csv file and replace the existing password with the actual password for connecting with the target host from which you want to collect the data.
You cannot use this command to import the Upload File type of data collector.
To understand the syntax and examples, see:
Prefix this command with the following, as appropriate:
importcollector -u <userName> [-v] [-s] -w <password> -d <hostName>
-p <port> -f <absoluteCsvFilePath>
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:
|Host name of the Console Server|
Absolute file path of the CSV file that you want to import
|Port number of the Console Server|
|User name to use to connect with the Console Server|
|(Optional) Version of the IT Data Analytics product|
|Password corresponding to the user name to use to connect with the Console Server|
|(Optional) Indicates an HTTPS connection|
The following example provides the input for importing a data collector:
importcollector -u admin -w admin -d localhost -p 9797 -f C:\Logins.csv