How do I set the grid name?

Because these are hadoop machines so I used the following configuration parameters in my hadoop-metrics.properties files:
dfs.class=org.apache.hadoop.metrics.ganglia.GangliaContext
dfs.period=10
dfs.serve...@ganglia@:8649

mapred.class=org.apache.hadoop.metrics.ganglia.GangliaContext
mapred.period=10
mapred.serve...@ganglia@:8649

jvm.class=org.apache.hadoop.metrics.ganglia.GangliaContext
jvm.period=10
jvm.serve...@ganglia@:8649

rpc.class=org.apache.hadoop.metrics.ganglia.GangliaContext
rpc.period=10
rpc.serve...@ganglia@:8649
And replaced the @GANGLIA@ with 10.1.1.25

I didn't install any ganglia stuff on each of the machines. I just ran Hadoop as I normally do, and configured the above.

-John

On Nov 17, 2009, at 11:07 AM, Chris Johnson wrote:

On Tue, 17 Nov 2009, John Martyniak wrote:

And they all are configured with the same grid name? Another thing to
try is to run gmetad in -d mode and see if its receiving anything.

Yes they are all in the same subnet, all attached to the same switch.

monitor is: 10.1.1.25

the two devices are 10.1.1.128, 10.1.1.129

I tried the telnet test also: from each of the machines that are monitored, I ran telnet 10.1.1.25 8649, and received the XML file.

-John

On Nov 17, 2009, at 10:41 AM, Chris Johnson wrote:

On Tue, 17 Nov 2009, John Martyniak wrote:

Are the monitored nodes on the same side as the monitoring node? If
not you might have to explicitly turn on mulicasting in the router.
Depends on the router.
> It should, I don't restrict anything, and I have the firewalls turned off > on those two machines. > > It is on a private network that I use NAT through my router to get to the > outside world. But that shouldn't matter because all of the machine can > get out to the internet.
> > > > -John
> > On Nov 17, 2009, at 10:17 AM, Chris Johnson wrote:
> > > On Tue, 17 Nov 2009, John Martyniak wrote:
> > > > It should pretty much work out of the box John. Does your network > > not
> > allow multicasting?
> > >  So the udp_recv_channel in the gmond.conf file is as follows:
> > > >  udp_recv_channel {
> > >    mcast_join = 239.2.11.71
> > >    bind       = 239.2.11.71
> > >    port       = 8649
}
> > > > if I change that to the ip address of the monitoring master > > > > machine, I > get an error that it can't join the cast or something > > > > like that.
> > > >  Any ideas?
> > > >  -John
> > > --------------------------------------------------------------------------------
> > Chris Johnson               |Internet: john...@nmr.mgh.harvard.edu
> > Systems Administrator       |Web: > > 
http://www.nmr.mgh.harvard.edu/~johnson
> > NMR Center                  |Voice:    617.726.0949
> > Mass. General Hospital      |FAX:      617.726.7422
> > 149 (2301) 13th Street |God must love stupid people. She keeps > > making > > Charlestown, MA., 02129 USA |them in such horrifyingly large numbers. > > Me > > -------------------------------------------------------------------------------- > > -------------------------------------------------------------------------------
Chris Johnson               |Internet: john...@nmr.mgh.harvard.edu
Systems Administrator       |Web: http://www.nmr.mgh.harvard.edu/~johnson
NMR Center                  |Voice:    617.726.0949
Mass. General Hospital      |FAX:      617.726.7422
149 (2301) 13th Street      |Man's a kind of missing link
Charlestown, MA., 02129 USA |fondly thinking he can think. Piet Hein
-------------------------------------------------------------------------------



-------------------------------------------------------------------------------
Chris Johnson               |Internet: john...@nmr.mgh.harvard.edu
Systems Administrator       |Web:      http://www.nmr.mgh.harvard.edu/~johnson
NMR Center                  |Voice:    617.726.0949
Mass. General Hospital      |FAX:      617.726.7422
149 (2301) 13th Street |I'm continually amazed by mankind's seemingly
Charlestown, MA., 02129 USA |infinite capacity for stupidity.    Me
-------------------------------------------------------------------------------

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to