• EnglishEspañol日本語한국어Português
  • ログイン今すぐ開始

この機械翻訳は、参考として提供されています。

In the event of any inconsistency between the English version and the translated version, the English versionwill take priority. Please visit this page for more information.

問題を作成する

稼働中のインフラストラクチャ・エージェントのトラブルシューティング

newrelic-infra-ctl ユーティリティを使用して、インフラストラクチャ エージェントのトラブルシューティングを行うことができます。このバイナリは、インストール パッケージの newrelic-infra デフォルト バイナリと同じディレクトリに含まれています。

newrelic-infra-ctl コマンドを受信すると、エージェントは次の処理を行います。

  • verbose logs を 5 分間有効にし、その後ログレベルを以前の設定に戻します。
  • すべてのエージェント設定オプションをログに記録します。
  • すべての統合設定オプションを記録します。
  • ロードされたすべての統合のヘルスチェックを実行します。(ヘルスチェックは、追加のログと出力の検証を伴う統合の即時実行です)。

Linux newrelic-infra-ctl

Linux システムでは、トラブルシューティング バイナリは /usr/bin/newrelic-infra-ctlで、 パッケージ マネージャー または tarball 支援 インストール方法の両方で利用できます。

重要

Linux で実行する場合、 newrelic-infra-ctl は root ユーザー、または newrelic-infra プロセスを実行している 同じユーザー によって実行される必要があります。

newrelic-infra-ctl バイナリは、ホストで実行されているエージェント プロセスを自動的に検出できます。また、エージェントがコンテナ内で実行されているかどうかを検出することもできます。

newrelic-infra-ctlのデフォルト設定を変更するには:

変更するには...

実行

pid

newrelic-infra-ctl -pid 14580

cid (コンテナ化されたバージョンのエージェントを使用する場合)

newrelic-infra-ctl -cid 8fddbcbb101c

docker-api-version

newrelic-infra-ctl -docker-api-version 1.24

container-runtime (docker (デフォルト) または containerd)

newrelic-infra-ctl -container-runtime containerd

containerd-namespace (エージェントコンテナが実行されている名前空間)

newrelic-infra-ctl -containerd-namespace default

ウィンドウズ newrelic-infra-ctl

Windows で MSI インストーラーを使用する場合、トラブルシューティング バイナリは C:\Program Files\New Relic\newrelic-infra\newrelic-infra-ctl.exeです。

重要

Windows では、エージェント プロセスは常に自動的に検出されます。これは、 pid または cidには依存しません。

Copyright © 2024 New Relic株式会社。

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