NetWorker : GSTCLREPORT crée un rapport avec des en-têtes, mais pas de données, le rapport est vide
Summary: NetWorker, rapports NMC, gstclreport, vide, vide
Symptoms
- Vous utilisez l’option
gstclreportutilitaire de ligne de commande pour créer des rapports NetWorker Management Console (NMC). - Les rapports sont créés avec succès, mais ne contiennent aucune donnée en dehors des en-têtes et des options sélectionnées :
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)
- Le rapport généré « Save Set Details » en tant que fichier testreport.html :
Cause
Certains rapports s’affichent avec le même nom sous différents dossiers. Par exemple, le rapport « Save Set Details » s’affiche sous les deux :
Reports -> Policy Statistics -> Save Set Details.
Reports -> Legacy Reports -> NetWorker Backup Statistics -> Save Set Details.
Ce même rapport s’affiche d’autres fois dans les dossiers « Legacy Reports ». Le rapport hérité est chargé par défaut, comme indiqué par le nom « NetWorker Backup Statistics ». Nous devrions voir « Policy Statistics : Save Set Details"
Les rapports hérités ne fonctionnent pas dans NMC ou avec gstclreport Après la publication de NetWorker 9.x.
Resolution
Lors de l’exécution de rapports, spécifiez le chemin d’accès au rapport ; Dans cet exemple, il s’agit de :
-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)
Générer le rapport « Save Set Details » en tant que fichier testreport.html.

Additional Information
La fonctionnalité « Legacy Reports » est toujours incluse, car il est possible de définir une période de « Legacy Reports Retention ». Si cette période s’est écoulée depuis l’exécution d’une mise à niveau vers NetWorker 9.x (ou une version ultérieure), il n’est pas possible d’utiliser ces rapports.
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