Are you sure? As I remember it, the hostnames are generated by a reverse
dns lookup on the headnode (or whichever node you poll). You can play
by netcatting (nc) the headnode 8649 as well as the gmetad node 8651 and
having a look.

I think it is true that a reverse DNS mapping can't be specified in any
/etc/hosts file. Is that correct? At my last job, software did not generally
do reverse lookups, so when ganglia came along it was us that discovered all
the bad reverse DNS entries.

There have been discussions earlier about getting each gmond to send a hostname
rather that using the source address and reverse DNSing it on the headnode.
One gets all sorts of boring problems like bad engineering hostnames rather than
nice ones, and if you hasve multiple IP interfaces/NICs on a node then hostnames
may flip around. That makes it look like hosts are coming up or going down when
they are not.

regards,
Richard
-- 
kind regards,
Richard


Quoting Matt Cuttler <[EMAIL PROTECTED]>:

> 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
> 

-------------------------------------------------------------------------
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