Re: [Ganglia-developers] setting common upper-limit across a range of graphs

2006-05-11 Thread Jason A. Smith
Hi Matt, Bernard Li had also asked me the same thing. I created a sourceforge account a few years ago, but haven't used it yet. My ID is: smithj4 I checked, it is still good. Thanks, ~Jason On Wed, 2006-05-10 at 15:23 -0700, matt massie wrote: > jason- > > what is your sourceforge id? i th

Re: [Ganglia-developers] setting common upper-limit across a range of graphs

2006-05-10 Thread Jason A. Smith
The patch I attached to that bugzilla report does exactly this, except I used a null output filename: http://bugzilla.ganglia.info/cgi-bin/bugzilla/attachment.cgi?id=15&action=view I just looked at the most recent rrdtool documentation: http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html and it

Re: [Ganglia-developers] setting common upper-limit across a range of graphs

2006-05-10 Thread Chuck Simmons
Aha! After reading the rrdgraph man pages on the net and screwing around a bunch, I modified the code in find_limits to look like: $command = RRDTOOL . " graph /tmp/dummygangliagraph.out ". "--start $start --end $end ". "DEF:limits='$rrd_dir/$metricname.rrd':'sum':A

Re: [Ganglia-developers] setting common upper-limit across a range of graphs

2006-05-10 Thread Jason A. Smith
Hi Chuck, This is how it works for me. The cluster_view.php code sets a min & max value, using the find_limits function in functions.php. Then the graph.php code uses these values to set the rrdtool upper & lower limits in the graphs. About a year ago I discovered a bug that might have been rel

[Ganglia-developers] setting common upper-limit across a range of graphs

2006-05-10 Thread Chuck Simmons
I want to display multiple graphs with the same upper-limit value. Basically, I need to obtain the maximum upper limit from across the graphs (or a good estimate thereof) and then use that when displaying the graphs. For example, on cluster_view.php, we will display one graph for each node i