• English日本語한국어
  • Log inStart now

Interpret the nrdiag output

After executing the Diagnostics CLI from your terminal, you will see the results for each task as they are completed. Tasks that result in a Warning or Failure status code will log additional details regarding possible issues found during execution, along with troubleshooting suggestions and relevant links to documentation. If you use the -attach flag, you can view your results in the UI

The Diagnostics CLI outputs any issues it found with your installation, along with troubleshooting suggestions.

File output

The Diagnostics CLI outputs three files:

Diagnostics output files

Comments

nrdiag-output.zip

A flattened folder structure with one or more config files and any existing logs from New Relic. Attach this file to your New Relic account. This archive also contains a copy of nrdiag-output.json.

nrdiag-output.json

Output of the individual tests. Attach this output to your New Relic account.

nrdiag-filelist.txt

A list of files found. The nrdiag-output.zip file that you attach to your New Relic account automatically includes this list. You do not need to attach this .txt file separately.

Result status codes

The Diagnostics CLI returns the following status codes after running:

Status code

Definition

Success

Task successfully executed with no issues detected.

Warning

Task successfully executed. However, possible issues detected.

Failure

Task failed with issues detected.

Error

Task unable to execute. This could be due to a permissions issues.

None

Task was determined irrelevant to detected environment and was not executed.

Diagnostics CLI Output in New Relic

You can examine the nrdiag-output.json output in the UI. The account you select is associated with the license key that was validated by the Diagnostics CLI for upload.

  1. Select an app in the UI, then search for Diagnostics CLI Output.
  2. (Optional) Click the star next to the icon to add it to your favorites.
  3. Select an account from the Diagnostics CLI Output dropdown.
  4. Select from the list of your previous Diagnostics CLI runs for the selected account.
  5. For each task, review the list of results, and filter as needed. Click the button to list the specific results by status code.
  6. On the right side of the page, review the raw JSON of your results.
Copyright © 2023 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.