• /
  • Log in

Incorrect host name reported

Problem

The agent is working, but the infrastructure monitoring UI shows the wrong hostname.

Solution

To set the correct hostname, try the following steps:

  1. 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
  2. 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.

For more help

If you need more help, check out these support and learning resources:

Create issueEdit page
Copyright © 2021 New Relic Inc.