<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000066">
I have to choose the second option(rrdtool).<br>
see, what i have done:<br>
i already created rrd file and its graphs.<br>
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 .<br>
i need a sample or example to see how, programmers have do this job
in a certain JSP page.<br>
<br>
best Regards<br>
Amir Azhdari<br>
<br>
On 04/14/2011 02:59 PM, Eduardo Bragatto wrote:
<blockquote
cite="mid:EF0B0660-5AD2-4298-A2F6-C33922DBA61F@bragatto.com"
type="cite">
<div>
<div>On Apr 14, 2011, at 10:50 AM, amir wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div bgcolor="#ffffff" text="#000066"> Dear Kevin<br>
<br>
but,I want to show it numerically.<font
class="Apple-style-span" color="#000000"><font
class="Apple-style-span" color="#144fae"><br>
</font></font></div>
</blockquote>
<br>
</div>
<div>I can think of two ways, depending on what you want exactly.</div>
<div><br>
</div>
<div>1) Export your entire RRD file to a XML file using "rrdtool
xport" and read the data from the XML;</div>
<div><br>
</div>
<div>2) Use "rrdtool fetch" to retrieve data from a specific
period of time and specific resolution;</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>For more information, make sure to read the documentation
from rrdtool.org which is very detailed and also contains some
examples.</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Eduardo Bragatto.</div>
<br>
</blockquote>
<br>
</body>
</html>