[rrd-users] Find the DEF and value at x, y on graph image (for mouse-over)?
tobi at oetiker.ch
Sun Nov 18 23:30:09 CET 2007
There is curently no way of figuring out what is what on a graph
short of re-implementing the graphing feature ... if you check the
mailinglist, you see that there is some work going on for more
flexible return values from rrd_graph ... this may not be enough in
your case ..
another aproach would be to use rrd_xport to get xml data
representations of what you want to graph, and draw client side
using canvas ... maybe even patching rrd_xport to give you json
output to make the transport more efficient ... this would
unfortunately mean that you have to re-implement the graphing
functionality client side ... all the data-massage work though can
happen server side.
Today Fabien Wernli wrote:
> On Wed, Nov 14, 2007 at 11:18:02AM +0100, Peter Valdemar Mørch wrote:
> > I realize that this may involve som AJAX to fetch the data from RRD file
> > on the server given the (x,y) on the image, or alternatively huge DATA
> > structures in the HTML file, but am prepared to deal with that.
> > Has this been done before? Does anybody know how to do that?
> I know Tobi has done some AJAX stuff, not sure if any of this is available
> in smokeping, is it?
> If you implement it, make sure to send me the source ;)
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902
More information about the rrd-users