On Apr 14, 2011, at 10:50 AM, amir wrote:

Dear Kevin

but,I want to show it numerically.

I can think of two ways, depending on what you want exactly.

1) Export your entire RRD file to a XML file using "rrdtool xport" and read the data from the XML;

2) Use "rrdtool fetch" to retrieve data from a specific period of time and specific resolution;

In both cases all you need to do is a system call to "rrdtool" with the appropriate parameters and use the results in your JSP script.

For more information, make sure to read the documentation from rrdtool.org which is very detailed and also contains some examples.

Best regards,
Eduardo Bragatto.

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to