NetWorker: GSTCLREPORT cria relatório com cabeçalhos, mas não há dados, relatório está vazio
Summary: NetWorker, relatórios do NMC, gstclreport, vazio, em branco
Symptoms
- Você está usando o
gstclreportutilitário de linha de comando para criar relatórios do NetWorker Management Console (NMC). - Os relatórios são criados com sucesso, mas não contêm nenhum dado além dos cabeçalhos e opções selecionados:
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)
- Gerado o relatório "Save Set Details" como arquivo testreport.html:
Cause
Alguns relatórios são exibidos com o mesmo nome em pastas diferentes. Por exemplo, o relatório "Save Set Details" é exibido em ambos:
Reports -> Policy Statistics -> Save Set Details.
Relatórios -> Relatórios legados -> Estatísticas de backup do NetWorker -> Detalhes do saveset.
Esse mesmo relatório é exibido outras vezes nas pastas "Legacy Reports". O relatório legado está sendo carregado por padrão, conforme indicado pelo nome "NetWorker Backup Statistics". Devemos ver "Policy Statistics: Detalhes do saveset"
Os relatórios preexistentes não funcionam no NMC ou com gstclreport após o NetWorker 9.x.
Resolution
Ao executar relatórios, especifique o caminho para o relatório; Neste exemplo, seria:
-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)
Gerado o relatório "Save Set Details" como arquivo testreport.html.

Additional Information
O recurso "Relatórios legados" ainda está incluído, pois é possível definir um período de "Retenção de relatórios legados". Se esse período já tiver passado desde que um upgrade para o NetWorker 9.x (ou posterior) foi realizado, não será possível usar esses relatórios.
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