• /
  • ログイン
  • 無料アカウント

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 New Relic One

screen-nrdiag-output.png

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 New Relic logs. 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 NR1

Diagnostics CLI Output application in New Relic One

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

  1. Select an app in New Relic One, then search for Diagnostics CLI Output. OR, click this Diagnostics CLI Output permalink to go directly to the page.
  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 © 2020 New Relic Inc.