Importing scan results to License Metric Tool

Available from 9.2.7.

To import new scan results to License Metric Tool, copy the package to the disconnected scans directory that you added as a data source.

Before you begin

You can automate the upload of the disconnected scanner results from the output directory to the License Metric Tool server. You can use any technology for that purpose.

About this task

  • For information about recommended frequency of importing scan results, see: Frequency of scans and uploads of data.
  • If you upload a package with older results, the current ones are overwritten.
  • Discovered software is reported with the import time, not the package time stamp.
  • Import only one package per endpoint. Otherwise, capacity results might be skipped.
  • Processed packages are not removed from your disconnected scans directory. The ones already imported are skipped.

Procedure

  1. Go to the directory where you uploaded the disconnected scan package. Ensure that a result package was created in the output directory after the software scan.
    The package name uses the <UTC_DATE>-<hostname>.<extension> pattern. It contains the following files:
    • UNIX capacity.tar.gz, catalog_scan.xml, computer.yml, isotag_scan.tar.gz, package_scan.xml, source.tar.gz,
    • Windows capacity.zip, catalog_scan.xml, computer.yml, isotag_scan.zip, package_scan.xml, source.zip,
  2. Copy the package into the disconnected scans directory that you added as a data source in License Metric Tool.
  3. Wait for the scheduled import or run it manually.
  4. Optional: If you want to save disk space on the computer where License Metric Tool is installed, go to Advanced Server Setting panel and enable the delete_successfully_imported_scans parameter. For more information, see: Advanced server settings.

Results

During the data import, License Metric Tool checks the directory that you added as a data source and imports scan packages that meet the requirements. Scan results are processed and displayed on the reports in the user interface.

Files from processed packages are saved in the installation_directory/wlp/usr/servers/server1/tmp/datasources/Datasource_ID directory.

What to do next

The processed packages are stored in the directory specified in the data source configuration. The packages are not automatically removed. It is recommended to create the audit snapshot once a quarter. Then, back up the packages in a different directory, and remove them from the directory specified in the data source configuration.