NetWorker:GSTCLREPORT 创建含标头但没有数据的报告,报告为空

Summary: NetWorker, NMC 报告, gstclreport, 空, 空白

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

  • 您正在使用 gstclreport 用于创建 NetWorker Management Console (NMC) 报告的命令行实用程序。
  • 报告已成功创建,但除了所选的标题和选项之外不包含任何数据:
E:\Program Files\EMC NetWorker\Management\GST\bin>gstclreport -r "Save Set Details" -u Administrator -P "Pa$$w0rd01" -f "testreport" -x html -v table
java version "1.8.0_211"
Java(TM) SE Runtime Environment (build 1.8.0_211-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.211-b12, mixed mode)
  • 将“存储集详细信息”报告生成为文件testreport.html:
空的“NetWorker 备份统计信息”存储集详细信息报告

Cause

某些报告以相同的名称显示在不同的文件夹下。例如,“存储集详细信息”报告将显示在两个:报告 -> 策略统计信息 -> 存储集详细信息下

报告 -> 传统报告 -> NetWorker 备份统计信息 -> 存储集详细信息。

其他时候,同一报告会显示在“Legacy Reports”文件夹下。默认情况下,将加载早期报告,如名称“NetWorker Backup Statistics”所示。我们应该会看到“Policy Statistics:存储集详细信息“
旧版报告在 NMC 中不起作用,也不适用于 gstclreport NetWorker 9.x 之后。

提醒:此知识库文章使用“存储集详细信息”报告来说明问题;但是,此问题不限于本报告。

Resolution

运行报告时,指定报告的路径;在此示例中,它将是:

-r "/Reports/Policy Statistics/Save Set Details"
示例:
E:\Program Files\EMC NetWorker\Management\GST\bin>gstclreport -r "/Reports/Policy Statistics/Save Set Details" -u Administrator -P "Pa$$w0rd01" -f "testreport" -x html -v table
java version "1.8.0_211"
Java(TM) SE Runtime Environment (build 1.8.0_211-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.211-b12, mixed mode)

将“存储集详细信息”报告生成为文件testreport.html。

“策略统计信息”存储集详细信息报告

Additional Information

仍包含“Legacy Reports”功能,因为可以设置“Legacy Reports Retention”期限。如果自执行到 NetWorker 9.x(或更高版本)升级后已过去这段时间,则无法使用这些报告。
 

Usage: gstclreport [-h] -r reportname -u username
     [-P password] [-a chartselector] [-c charttype]
     [-f filename] [-n fontfamily] [-o orientation]
     [-v viewtype] [-x exporttype] [-C "Action Type" argument]
     [-C "Client Name" argument] [-C "Policy Name" argument]
     [-C "Save Set Name" argument] [-C "Server Name" argument]
     [-C Workflow argument] [-C "Workflow Start Time" argument]
Where:
    -h                          Print this help message
    -r  reportname      The name of the report to run, or full path name like "/Reports/Users/User List"
    -u  username        Log into GST server with given name
    -P  password        Log into GST server with given password
    -a  chartselector   The set of Y axis to display in a chart
    -c  charttype       The chart type [bar | pie | plot | "stacking bar"]
    -f  filename        The name of the export file
    -n  fontfamily      A font family to override the default(COURIERNEW). Please note if invalid
    -o  orientation     The orientation [portrait | landscape]
    -v  viewtype        The view type [table | chart]
    -x  exporttype      The type of export [ pdf | postscript | html | csv | print]
    -C  "Action Type" argument  Where argument is a comma separated list of Action Types
    -C  "Client Name" argument  Where argument is a comma separated list of Client Names
    -C  "Policy Name" argument  Where argument is a comma separated list of Policy Names
    -C  "Save Set Name" argument        Where argument is a comma separated list of Save Set Names
    -C  "Server Name" argument  Where argument is a comma separated list of Server Names
    -C  Workflow argument       Where argument is a comma separated list of Workflows
    -C  "Workflow Start Time" argument  Where argument is a From and To date. Date & Time format is MM/DD/YY & hh:mm:ss

Affected Products

NetWorker

Products

NetWorker, NetWorker Management Console
Article Properties
Article Number: 000165587
Article Type: Solution
Last Modified: 24 Oct 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.