Matt,
Thanks for your suggestion. I'll keep that in mind. I might want to do
that for a different scenario...

I have several clusters, each having two gmond that collect the data for
its own cluster. And one host running gmetad that polls the master
gmond(s).

If I do "telnet localhost 8649" on one of the master gmond host, I see
that the hostnames have already been resolved. I take it that this host
has done the name resolving (reverse lookup).

I can't use "route add -net <ip> dev <interface>" trick since I'm using
a virtual interface (eth0:0) and I want to distinguish from eth0's IP...

-Paul

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matt
Cuttler
Sent: Monday, September 10, 2007 12:30 PM
To: [email protected]
Subject: Re: [Ganglia-general] Overriding hostname

Paul Choi wrote:
> Hi,
> I was wondering if there's a way to override hostnames of the reported

> client hosts?
> For example,
> I have a host named db02b. (10.1.5.7). And a virtual interface eth0:0 
> with 10.1.3.3. The IP 10.1.3.3 maps to another name du02.
>  
> Right now, Ganglia shows the host as db02b. But I'd like to show it as
> du02 (the eth0:0 IP).

If I remember correctly, modifying the /etc/hosts file on the machine
running gmetad will work..

-Matt Cuttler

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to