NetWorker. GSTCLREPORT создает отчет с заголовками, но без данных, отчет пуст
Summary: NetWorker, NMC Reports, gstclreport, пустой, пустой
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)
- Сгенерированный отчет "Save Set Details" в виде файла testreport.html:
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)
Сгенерированный отчет «Save Set Details» в виде файла testreport.html.

Additional Information
Функция «Устаревшие отчеты» по-прежнему включена, так как можно установить период хранения «Устаревших отчетов». Если прошло много времени с момента обновления до 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