Yeah, thanks. I've been wondering about this functionality too as we overload our boxes to do very different things. A separate cluster view for each function -complete with summaries, is very useful.
On Thu, Jan 22, 2009 at 5:03 PM, Brad Fino <[email protected]> wrote: > I've run into this same issue periodically … so what I frequently do is have > my memcached init script spawn N number of gmond instances. > > > > Here's a code snippet that I use : > > > > NUM_INSTANCES="3" > > > > for ((N=1; N<=NUM_INSTANCES; N++)) > > do > > > > prog="gmond$N" > > ops="--conf=/etc/ganglia/gmond$N.conf" > > PORT=$((BASE_PORT+N)) > > > > [ ! -L /usr/sbin/$prog ] && ln -sf /usr/sbin/gmond /usr/sbin/$prog > > > > So gmond1.conf can point to a MySQL cluster > > Gmond2.conf can point to a memcached cluster > > Gmond3.conf can point to an apache cluster. (can't imagine why you'd be > running mysql, memcached, and apache on the same box but you get the idea) > > > > In your gmond$N.conf files you'll need to distinguish between clusters, > ports, etc. > > > > Anyhow, use that in your gmond init script (I call mine gmond_multi). If > everything works you should get something like: > > > > Starting Ganglia gmond (gmond1): [ OK ] > > Starting Ganglia gmond (gmond2): [ OK ] > > Starting Ganglia gmond (gmond3): [ OK ] > > > > > > > > Brad E. Fino > > IT / Operations > > 858-245-9099 > > [email protected] > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Ganglia-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ganglia-general > > ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

