Failed to Generate Reports through CLI Commands

Document ID : KB000006109
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

While generating the idash 'autotrack.report' through CLI recieved the following error. The same report is available and can be downloaded through Web-interface.

[idashusr@idash-client bin]# ./idgenpdf -t autotrack.report -n daily_autotrack_report -f daily_autotrack_report.pdf

unable to retrieve configuration:type=autotrack.report:user=idashusr:id=daily_autotrack_report

[idashusr@idash-client bin]#

If run through CLI, this is one of the common messages for all the report types available in various formats.

Please refer to Additional Information section for various report types and formats.

Environment:
All OS platforms supported by the product
Cause:

Non-existence of the report

Ownership of the report

Resolution:

Validate the existence of the report name (-n).

[idashusr@idash-client bin]# ./idlist -t autotrack.report

daily_autotrack_report:idashAdm

public_audit_report:idashAdm

autotrack_report:idashAdm

When the report ownership is under 'public' in the WebUI, the actual ownership is mapped with the user 'idashAdm'.

To generate the public reports through CLI, option -u must be included with user 'idashAdm'. 

[idashusr@idash-client bin]# ./idgenpdf -t autotrack.report -n daily_autotrack_report -f daily_autotrack_report.pdf -u idashAdm

[idashusr@idash-client bin]#

The optional parameter " -u USER" must be used if the report is under private ownership of a specific user otherthan the one who is running the CLI.

[idashusr@idash-client bin]# ./idgenpdf -t autotrack.report -n administrator_audit_report -f administrator_audit_report.pdf -u administrator

[idashusr@idash-client bin]#

Additional Information:

Generate Reports with CLI Commands: https://docops.ca.com/ca-workload-automation-idash/12-0/en/using/reports/generate-reports-with-cli-commands

Command syntax help: "idgenpdf /?"