exportcollector CLI command
Use this command to export data collectors to a .csv file.
If you want to use the output .csv file as the input for the CLI command and this output file contains the Monitor file over SSH and Monitor file over Windows Share data collectors, then you must edit the .csv file to replace the existing password with the actual password. This password is the one you need to connect to the target host from which you want to collect the data.
The exportcollector CLI command exports the .csv file using the internal name of the index block associated with a data collector while exporting.
To understand the syntax and examples, see:
Before you run the command, note the following points:
- Set up the CLI. For more information, see Managing the product from the command line interface.
- Prefix this command with the following, as appropriate:
- For Windows: itda.bat
- For Linux: ./itda.sh
- 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 export|
|Port number of the Console Server.|
|User name to use to connect with the Console Server.|
|Password corresponding to the user name to use to connect with the Console Server.|
(Optional) Indicates the locale in which you want to display messages when the command is run.
You can set one of the following locales:
By default, the messages are displayed in the locale of the system on which the CLI is run.
The value can be set to one of the following depending on the locale you choose:
Example: If you want to set the locale as Simplified Chinese, you need to specify,
|(Optional) Indicates an HTTPS connection.|
The following example provides the input for exporting a data collector: