Cheers for explaining this out for me guys. Matt
2009/6/30 Ofer Inbar <[email protected]>: > Matt <[email protected]> wrote: >> Is it possible to have different grids of gmonds send data to a single >> gmond which has a gmetad running with the web frontend? Then view all >> data of grids on that web frontend? > > Your question is ambiguous in one sense, and self-contradictory in > a more technical (though perhaps less useful sense). The latter sense > is simply this: a gmetad is what defines a "grid". A grid is the set > of clusters or other grids visible to one gmetad. That gmetad stores > its data on disk, and makes it viewable as a grid via the web intereface. > > However, depending on what you really want, maybe all you want is to > have a bunch of separate clusters? > >> Also if I have one gmond in cluster A sending to a gmond in cluster B, >> the gmond in cluster A will show up in cluster B? is this supposed to >> happen? > > Yes: A cluster is defined as "the set of gmond nodes visible via one > data source", where the data source is a gmond node that gmetad is > configured to poll. That node may be a special collector you've > configured other nodes to send their data to, or it may be one of a > bunch of nodes that all multicast to each other. Whichever way you > go, the cluster is simple "all the nodes that gmond node can see". > > [email protected] wrote: >> We achieve what I think you want to as follows: >> >> >> We have lots of machines running Ganglia gmond, grouped by business >> unit. For each business unit, we nominate one of the gmond machines >> as a collecter. All of the machines for this 'grid' are set to >> report to this collecter by putting the following in their config file: > > ... what Wayne is describing here is setting up multiple clusters, all > in one grid. It sounds like you already know how to do that and that > isn't what you want, but you didn't explain what you want separate > grids for so I'm not sure. > > If you really need a hierarchy of grids, then Wayne's solution doesn't > do it. If you really need a hierarchy of grids but also really need > to be able to view all of them on one central web server, you'll need > to hack something to do that. Each grid is a gmetad and its directory > tree of RRD files, so you'll need a way to make all of those RRD file > trees accessible on one server (NFS, rsync, multiple gmetad's running > on different ports in different chroots on the same server, or any > other way you like) and then you'll need to configure your Ganglia web > to respond to different paths or virtual hostnames for each grid, with > each one running the same Ganglia web code but looking to a different > RRD tree (which is a simple variable setting in one of the PHP files). > -- Cos > ------------------------------------------------------------------------------ _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

