To generate a diagnostic report, run the following command. 

diagnostic-report.sh [--password <pwd>] [--logs-since <hours>]

For example:

$ sudo diagnostic-report.sh
Gathering system information. This process could take a few minutes...
Packaging the report...
 
Randomly generated password:
^zuD,h|o`3!>q
 
Success. This file is meant for incidence analysis at the Support department's request.
The file resulting from this execution must be sent to the aforementioned department.

See below for the supported options.

-p, --password <pwd>

Encrypt the generated diagnostics file with the <pwd> password.

Mandatory: No, When omitting this option, the script ciphers the file with a random password containing 13 OWAS special characters and prints the password in the execution console.

-s, --logs-since <hours>

Collect the logs generated in the last <hour> hours.

Mandatory: No. When omitted, this value defaults to 24 hours.

--fast

Perform a fast diagnostic report. 

Do not use this option unless indicated by customer support.

--disk-perf

Generate a disk performance report. 

Do not use this option unless indicated by customer support.

--no-host

Skip host reports.

Do not use this option unless indicated by customer support.

-v, –-version

Show the version of the report generation tool.

-h, --help

Show the help of the report generation tool.