Sid Stuart <[EMAIL PROTECTED]> wrote:
> Is there some way to graph multiple points at the same time using
> the Python Metric Modules? I am writing a module to graph data from
> iostat and would like to have all the disks on a system appear in
> the same graph.

Graphing is somewhat independent of metrics.  A single metric can only
be a single value at one time.  What you want to do is create a graph
that shows you multiple metrics on the same graph, like the cpu_report
and mem_report you see at the top of most pages.  You can do this
using RRD's graph language.

If you're running Ganglia 3.1, look in ganglia-web's graph.d/
directory for samples of graph definitions, and make a new file
following the same form but with a different graph definition.

Then add your graph's name to the array in get_context.php so it will
show up as an option in the pulldown menu in the cluster view.

You can also write your own dashboard to view all your custom graphs,
something I thought I could move away from in 3.1 but turns out to
still be necessary.  It's pretty easy to see what forms the URLs for
the graphs take from looking at the source of a ganglia-web page, and
make your own page showing what you want, or your own program showing
the sets of graphs you want together.
  -- Cos

-------------------------------------------------------------------------
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-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to