Update the /etc/hosts on the machine where gmetad is. Then restart the
gmond and gmetad daemons.

On Fri, Jul 30, 2010 at 12:45 PM, Alex Dean <[email protected]> wrote:
> In one of my tiny (2 node) clusters, the gmond XML on 1 machines does
> not report the correct hostname for the other machine.  I'm trying to
> figure out why.
>
> How does gmond determine what goes in the <HOST NAME=""> attribute?
>
> My gmond.conf includes:
>   udp_send_channel {
>     host = dev-1-dist1
>     port = 8649
>     ttl = 1
>   }
>   udp_send_channel {
>     host = dev-1-dist2
>     port = 8649
>     ttl = 1
>   }
>
> On dev-1-dist2:
>   $ telnet localhost 8649 | grep HOST
>     <HOST NAME="dev-1-dist2.meteostar.local" IP="10.0.3.31"
> REPORTED="1280503440" TN="16" TMAX="20" DMAX="0" LOCATION=""
> GMOND_STARTED="1280502260">
>     <HOST NAME="dev-1-dist1.meteostar.local" IP="10.0.3.32"
> REPORTED="1280503454" TN="2" TMAX="20" DMAX="0" LOCATION=""
> GMOND_STARTED="1280502234">
>
> On dev-1-dist1:
>   $ telnet localhost 8649 | grep HOST
>     <HOST NAME="10.0.3.31" IP="10.0.3.31" REPORTED="1280504565"
> TN="1" TMAX="20" DMAX="0" LOCATION="unspecified"
> GMOND_STARTED="1280504465">
>     <HOST NAME="dev-1-dist1.meteostar.local" IP="10.0.3.32"
> REPORTED="1280504565" TN="1" TMAX="20" DMAX="0" LOCATION=""
> GMOND_STARTED="1280504550">
>
> Both machines use the same DNS servers, and there are correct reverse
> lookup records for those IPs.
>
>   [r...@dev-1-dist1 software]# nslookup 10.0.3.32
>   Server:              10.0.0.5
>   Address:     10.0.0.5#53
>   32.3.0.10.in-addr.arpa       name = dev-1-dist1.meteostar.local.
>
>   [r...@dev-1-dist1 software]# nslookup 10.0.3.31
>   Server:              10.0.0.5
>   Address:     10.0.0.5#53
>   31.3.0.10.in-addr.arpa       name = dev-1-dist2.meteostar.local.
>
> What else might I need to investigate?
>
> thanks,
> alex
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Ganglia-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ganglia-general
>



-- 
Peter Senna Tschudin
[email protected]
gpg id: 48274C36

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to