Page tree

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 importcollector 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.

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

exportcollector -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:

ParameterDescription
-d
MultiExcerpt named host was not found -- Please check the page name and MultiExcerpt name used in the MultiExcerpt-Include macro
-f
Absolute file path of the CSV file that you want to export
-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
-v
MultiExcerpt named version was not found -- Please check the page name and MultiExcerpt name used in the MultiExcerpt-Include macro
-sMultiExcerpt named ssl was not found -- Please check the page name and MultiExcerpt name used in the MultiExcerpt-Include macro

Example input

The following example provides the input for exporting a data collector:

exportcollector -u admin -w admin -d localhost -p 9797 -f C:\DataCollectors.csv