Xymon Mailing List Archive search

zoom graph feature

list Galen Johnson
Thu, 01 Feb 2007 00:17:58 -0500
Message-Id: <user-3b8e67fc3a22@xymon.invalid>

Henrik Stoerner wrote:
In <user-ba34e7fdaeba@xymon.invalid> Galen Johnson <user-d2ff723b6cb6@xymon.invalid> writes:

  
I think this has come up previously but I don't recall seeing a response...but how hard would it be to have the Zoom Graph function set the graph max to more accurately reflect the height of the block you select...ie, if I have a low load and I select a max height of around .2 when I drag my box, could the max on the new zoom be .2 instead of 1.0?
    
First of all, it would require that you're using version 1.2.x of the RRDtool
library. I guess it's safe to upgrade now, but back when I was putting the zoom stuff together, rrdtool 1.2 wasn't quite stable.

rrdtool 1.0 simply doesn't provide the information about the value range on the y-axis that is needed to implement the zoom. Tobi Oetiker who maintains
the rrdtool library added this in 1.2 at my suggestion :-)

I'll look at reviving some old code I had to implement this. It requires some changes to both the hobbitgraph CGI and the zoom.js javascript code.


Regards,
Henrik

Sweet, I'm already using 1.2 so that'd be awesome if you could.

=G=