All hosts appear as localhost (Java)

Problem

All your hosts appear as localhost.

Solution

Try adding a host entry for each machine in /etc/hosts.

For more help

Join the discussion about Java monitoring in the New Relic Online Technical Community! The Technical Community is a public platform to discuss and troubleshoot your New Relic toolset.

If you need additional help, get support at support.newrelic.com.