[rrd-users] fetching rrd into jsp pages
amir at dei.uc.pt
Thu Apr 14 16:16:44 CEST 2011
I have to choose the second option(rrdtool).
see, what i have done:
i already created rrd file and its graphs.
so, the only thing which is remains is what, i want to fetch the data
from rrd file and show it numerically in a JSP table .
i need a sample or example to see how, programmers have do this job in a
certain JSP page.
On 04/14/2011 02:59 PM, Eduardo Bragatto wrote:
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rrd-users