Discussion:
[rrd-users] Value under the cursor
(too old to reply)
Srinivasa T N
2014-12-11 10:04:17 UTC
Permalink
Hi All,
I am using rrdtool 1.4.8 on centos 7 and using it to graph the output
obtained using nagios/nagiosgraph. Now my question, is there a way to
display the value under the cursor when mouse is hovered above the graph?

(I googled it but could not get the right info, so thought of asking here).

Regards,
Seenu.
Johan Elmerfjord
2014-12-11 10:20:34 UTC
Permalink
Hi Seenu,

I would say - No, at least not out of the box.
rrdtool can create images of different formats, but as long as they are static images - nothing will happen when you hover over them.

If you instead use some of the data exports (sending datapoints to the browser) - and render the graph in the browser using some library (JavaScript, Flash, Java, HTML5?),
then you will get the functionality that you are referring to, and can add zoom and other things..

I don't know if anyone on this list has a functionality like that working already - or know a framework that supports RRD already - but I'm interesting in finding out.

For a while back I started looking into a layer over RRD so I could get a standardized interface to the data - no matter if it was stored in RRD or some of it "competitors".
But that work never really started - unfortunately, but it would still be nice to know if anyone knows of one.

/Johan



On Thu, 2014-12-11 at 15:34 +0530, Srinivasa T N wrote:
Hi All,

I am using rrdtool 1.4.8 on centos 7 and using it to graph the output obtained using nagios/nagiosgraph. Now my question, is there a way to display the value under the cursor when mouse is hovered above the graph?


(I googled it but could not get the right info, so thought of asking here).


Regards,

Seenu.



_______________________________________________
rrd-users mailing list
rrd-***@lists.oetiker.ch<mailto:rrd-***@lists.oetiker.ch>
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Srinivasa T N
2014-12-11 11:05:05 UTC
Permalink
Right now the graph displays the time under the mouse pointer, so I thought
the value functionality was available. Anyway, thanks for the info.

Regards,
Seenu.
Post by Johan Elmerfjord
Hi Seenu,
I would say - No, at least not out of the box.
rrdtool can create images of different formats, but as long as they are
static images - nothing will happen when you hover over them.
If you instead use some of the data exports (sending datapoints to the
browser) - and render the graph in the browser using some library
(JavaScript, Flash, Java, HTML5?),
then you will get the functionality that you are referring to, and can add
zoom and other things..
I don't know if anyone on this list has a functionality like that working
already - or know a framework that supports RRD already - but I'm
interesting in finding out.
For a while back I started looking into a layer over RRD so I could get a
standardized interface to the data - no matter if it was stored in RRD or
some of it "competitors".
But that work never really started - unfortunately, but it would still be
nice to know if anyone knows of one.
/Johan
Hi All,
I am using rrdtool 1.4.8 on centos 7 and using it to graph the output
obtained using nagios/nagiosgraph. Now my question, is there a way to
display the value under the cursor when mouse is hovered above the graph?
(I googled it but could not get the right info, so thought of asking
here).
Regards,
Seenu.
_______________________________________________
Johan Elmerfjord
2014-12-11 11:19:01 UTC
Permalink
Hi again,

This is not something I have succeeded with - so you are probably already rendering them in your client/browser.
If this is the case - I don't expect that it would take much effort to display the value as well.

But I assume that you are not using rrdtool directly to get your graphs today.
What tool are you using? Is it a monitoring-tool that uses rrd for it's storage?

/Johan

On Thu, 2014-12-11 at 16:35 +0530, Srinivasa T N wrote:
Right now the graph displays the time under the mouse pointer, so I thought the value functionality was available. Anyway, thanks for the info.


Regards,

Seenu.


On Thu, Dec 11, 2014 at 3:50 PM, Johan Elmerfjord <***@adobe.com<mailto:***@adobe.com>> wrote:
Hi Seenu,

I would say - No, at least not out of the box.
rrdtool can create images of different formats, but as long as they are static images - nothing will happen when you hover over them.

If you instead use some of the data exports (sending datapoints to the browser) - and render the graph in the browser using some library (JavaScript, Flash, Java, HTML5?),
then you will get the functionality that you are referring to, and can add zoom and other things..

I don't know if anyone on this list has a functionality like that working already - or know a framework that supports RRD already - but I'm interesting in finding out.

For a while back I started looking into a layer over RRD so I could get a standardized interface to the data - no matter if it was stored in RRD or some of it "competitors".
But that work never really started - unfortunately, but it would still be nice to know if anyone knows of one.

/Johan




On Thu, 2014-12-11 at 15:34 +0530, Srinivasa T N wrote:
Hi All,

I am using rrdtool 1.4.8 on centos 7 and using it to graph the output obtained using nagios/nagiosgraph. Now my question, is there a way to display the value under the cursor when mouse is hovered above the graph?


(I googled it but could not get the right info, so thought of asking here).


Regards,

Seenu.



_______________________________________________
rrd-users mailing list
rrd-***@lists.oetiker.ch<mailto:rrd-***@lists.oetiker.ch>
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Srinivasa T N
2014-12-11 11:32:05 UTC
Permalink
You are correct, I am not using rrdtool directly. I am using
nagios/nagiosgraph which internally uses rrdtool.

Regards,
Seenu.
Post by Johan Elmerfjord
Hi again,
This is not something I have succeeded with - so you are probably already
rendering them in your client/browser.
If this is the case - I don't expect that it would take much effort to
display the value as well.
But I assume that you are not using rrdtool directly to get your graphs
today.
What tool are you using? Is it a monitoring-tool that uses rrd for it's
storage?
/Johan
Right now the graph displays the time under the mouse pointer, so I
thought the value functionality was available. Anyway, thanks for the info.
Regards,
Seenu.
Hi Seenu,
I would say - No, at least not out of the box.
rrdtool can create images of different formats, but as long as they are
static images - nothing will happen when you hover over them.
If you instead use some of the data exports (sending datapoints to the
browser) - and render the graph in the browser using some library
(JavaScript, Flash, Java, HTML5?),
then you will get the functionality that you are referring to, and can add
zoom and other things..
I don't know if anyone on this list has a functionality like that working
already - or know a framework that supports RRD already - but I'm
interesting in finding out.
For a while back I started looking into a layer over RRD so I could get a
standardized interface to the data - no matter if it was stored in RRD or
some of it "competitors".
But that work never really started - unfortunately, but it would still be
nice to know if anyone knows of one.
/Johan
Hi All,
I am using rrdtool 1.4.8 on centos 7 and using it to graph the output
obtained using nagios/nagiosgraph. Now my question, is there a way to
display the value under the cursor when mouse is hovered above the graph?
(I googled it but could not get the right info, so thought of asking here).
Regards,
Seenu.
_______________________________________________
Loading...