Friday, February 20, 2015

Ganglia - Showing IP Address Intead of Hostname

If in your Ganglia web frontend, a server is showing IP address instead of hostname, you can do the following to fix:

1. On both send and receive channel (Check gmond.conf to find out tcp or udp_send_channel), do a reverse DNS lookup, make sure the host can be lookup by IP
On the host
# dig -x IP_ADDRESS
or
# nslookup IP_ADDRESS

On the data receive host:
# dit -x IP_ADDRESS
or
# nslookup IP_ADDRESS

2. On both send and receive hosts:
# service gmond restart

3. On the web frontend (where gmetad is running)
# service gmetad restart

This should fix your problem.

No comments: