Problem
The agent is working, but the infrastructure monitoring UI shows the wrong hostname.
Solution
To set the correct hostname, try the following steps:
Edit the newrelic-infra.yml configuration file and add the
override_hostname
option, whose value is your expected hostname. For example:override_hostname: correct-host.domain.com
Use your init system to restart the agent service:
Cause
The New Relic infrastructure agent tries to resolve its fully qualified domain name against a domain name server, which may not be properly configured or not controlled by the same user as the New Relic infrastructure agent.
その他のヘルプ
さらに支援が必要な場合は、これらのサポートと学習リソースを確認してください:
- Explorers Hubでは、コミュニティからのサポートを受けたり、ディスカッションに参加したりすることができます。
- 当社サイトで答えを見つけて、サポートポータルの使用方法を確認してください。
- Linux、Windows、およびmacOS向けトラブルシューティングツールであるNew Relic Diagnosticsを実行してください。
- New Relicの とandドキュメント をご確認ください。