On Mon, Sep 15, 2008 at 02:29:37PM -0400, Ofer Inbar wrote:
> 
> I can add the names of my custom graphs to get_context.php, and then
> they show up in the menu at the top of the cluster view that lets me
> select what graph to show for each node at the bottom.

why not add them to $optional_graphs in web/conf.php instead?

I agree with you that at the end it might make more sense to treat
all the reporting graphs the same regardless of if they are custom
or part of the core just like metrics are treated now in 3.1

> However, it'd also be really useful to:
> 
> 1. See the custom graphs relevant to a cluster show up in the cluster
>    view at the top, summarizing or totaling the whole cluster

agree, but you are going to have to be able to configure which reports
you want to have per cluster (as you will most likely need different
reports in each cluster) otherwise you can just change the template
(web/templates/default/cluster_view.tpl) to show the list of reports
 you are interested for all cluster pages (in that case is probably
a good idea to create your own template name and refer to it in conf.php)

> 2. See those graphs in the grid view, in each cluster's summary

if it is the same list for all clusters can be done in the template
(web/templates/default/meta_view.tpl), if you want a different list per
cluster then you could probably use the same configuration defined above,
but could get difficult to handle and to understand as space is limited
in the grid view per cluster and is IMHO useful to have all cluster
reporting the same metric vertically so you can see global trends easily.

> 3. For each node, have it default to showing the graphs we deem most
>    relevant to its cluster, in the first section of the node view

OK, you will also need to know how many reports to show to keep the layout
useful, as again the layout will need to adjust dynamically.

> Are there easy ways to do this with the existing ganglia-web package?

no, because there is no per cluster configuration where this information
could be stored yet, but as I mentioned before, tweaking the templates could
help.

> Is anyone working on making this possible?

in trunk there has been changes to the grid view to have the four reports
from cluster view and in the same order (plus adding zoom) as you can see from
BUG184:

  http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=184

as part of that implementation there has been some discussion about doing
something similar to what you proposed, but no code has been produced AFAIK
(CC all probably interested parties in case code was produced but not yet made
public)

> Note: I'll probably send some of my custom metric packages & graphs
> for inclusion in contrib, but I'll be much more motivated to polish
> them up for public consumption if I know people could use them easily.

ganglia development is always open, so forward your patches and suggestions
through bugzilla or the ganglia-developers list, which will be where this
could be accomplished.

Carlo

PS. moving thread to ganglia-developers to followup with development
suggestions and code.  replying might require subscribing to that list first

-------------------------------------------------------------------------
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-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to