[rrd-developers] Re: [Fwd: [Ganglia-general] rrdtool patch to guarantee 2 vertical grid labels.]

Jason A. Smith smithj4 at bnl.gov
Sat Apr 15 04:31:12 MEST 2006


On Fri, 2006-04-14 at 22:01, Jason A. Smith wrote:
> Resending email after subscribing to list.  :)
> ~Jason
> 
> 
> 
> -- Binary/unsupported file stripped by Ecartis --
> -- Err : No filename to use for decode, file stripped.
> -- Type: message/rfc822
> -- Desc: Forwarded message - [Ganglia-general] rrdtool patch to

It looks like the list software didn't like my attached email message, I
will try again...


On Fri, 2006-04-14 at 18:13, Jason A. Smith wrote: 
> In our experience, ganglia's use of rrdtool to make the metric graphs
> will often result in only a single 0 y-axis grid label, especially on
> the small graphs.  This makes the graph almost useless since there is no
> vertical scale information.  I looked at the rrdtool source code and
> came up with the attached patch, which will guarantee the addition of a
> second y-axis grid label, if only one has been added so far and the
> current grid line is the last available one where a label can be added,
> as it loops through adding all of the grid lines.
> 
> Since we are still using rrdtool 1.0.50 here, this is the only version
> of the patch that I have tested, and it seems to work well.  I made a
> similar patch for version 1.2.12, but it is untested.  I tried compiling
> the stock 1.2.12 version of rrdtool on a RHEL4 system, but it failed and
> I haven't had the time to investigate further.
> 
> I also attached two images from ganglia to illustrate the problem,
> showing the same graph before & after my patch.  I am sending this email
> to the rrdtool developers list to see if they will consider including
> it, and also to the ganglia user's list in case any other ganglia users
> would like to try it.
> 
> ~Jason



-- Attached file removed by Ecartis and put at URL below --
-- Type: image/gif
-- Size: 4k (5003 bytes)
-- URL : http://lists.ee.ethz.ch/p/02-graph-before.gif


-- Attached file removed by Ecartis and put at URL below --
-- Type: image/gif
-- Size: 4k (5070 bytes)
-- URL : http://lists.ee.ethz.ch/p/02-graph-after.gif


-- Attached file removed by Ecartis and put at URL below --
-- Type: text/x-patch
-- Size: 1k (1395 bytes)
-- URL : http://lists.ee.ethz.ch/p/02-rrdtool-label.patch


-- Attached file removed by Ecartis and put at URL below --
-- Type: text/plain
-- Size: 1k (1351 bytes)
-- URL : http://lists.ee.ethz.ch/p/02-rrdtool-1.2-label.patch


--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-developers
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-developers mailing list