Hi Cherife

I added "ip <-> host_name" in /etc/hosts with linux.
I could get host name from gmond lcoalhost, but I could not get host name from 
gmetad server.

I executed below command from gmond client.

gmond_client $ sudo /etc/init.d/gmond start
gmond_client $ curl localhost:8649
...
<HOST NAME="gmond_client" IP="192.168.0.2" REPORTED="..." TN="5" TMAX="20" DMAX=
"0" LOCATION="unspecified" GMOND_STARTED="...">
...
<HOST NAME="192.168.0.1" IP="192.168.0.1" REPORTED="..." TN="5" TMAX="20" DMAX=
"0" LOCATION="unspecified" GMOND_STARTED="...">
...

And I executed below command from gmeta server.

gmetad_server $ sudo /etc/init.d/gmetad start
gmetad_server $ sudo /etc/init.d/gmond start
gmetad_server $ curl 192.168.0.2:8649
...
<HOST NAME="gmetad_server" IP="192.168.0.1" REPORTED="..." TN="5" TMAX="20" 
DMAX=
"0" LOCATION="unspecified" GMOND_STARTED="...">
...
<HOST NAME="192.168.1.2" IP="192.168.0.2" REPORTED="..." TN="5" TMAX="20" DMAX=
"0" LOCATION="unspecified" GMOND_STARTED="...">
...

gmond_client ip address is 192.168.0.2.
gmetad_server ip address is 192.168.0.1.



Regards,
Naoya NAKAZAWA

On Jul 23, 2008, at 10:57 AM, Cherife Li wrote:

> On 07/23/08 09:49, Naoya Nakazawa wrote:
>> Hi, I use ganglia 3.0.7.
>> I could not get host name from remote host.
> I can get host names by adding "ip <-> host_name" in /etc/hosts within linux.
>
> -- 
> Rgds,
> Cherife.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to