Usage Meter Appliance Defaults to IP Address Instead of Hostname
search cancel

Usage Meter Appliance Defaults to IP Address Instead of Hostname

book

Article ID: 405430

calendar_today

Updated On:

Products

VMware Usage Meter

Issue/Introduction

In a configuration with multiple network adapters, ensure that there is only one default network interface.
"/usr/lib/get-resolved-hostname.sh" command must return either a resolvable FQDN or an IP address; if the FQDN is not resolvable, the system defaults to using the IP address.

Environment

VCF usage meter 9.0

Cause

The default network interface did not have a DNS-resolvable hostname.

Usage Meter appliance with multiple network interfaces must have the DNS-resolvable hostname.

Resolution

Execute the below command as a usagemeter user to check if the IP is DNS resolvable:

nslookup <HOSTNAME>
nslookup <usagemeter_IP>

If IP address does not return a valid response, indicates a failure in name resolution. Please ensure the IP is DNS resolvable.

Additional Information