[rrd-users] fetching rrd into jsp pages

Kevin P. Foote kpfoote at iup.edu
Thu Apr 14 15:42:18 CEST 2011


Amir... 

1) create a cgi that gives you the rrd-graph out put you want, a picture, a
number etc.. optionally make the cgi take some args.

2) call that cgi from a location on your jsp page... 


Here is an image call that I use to do such ..  
<img src="/cgi-bin/my-great-cgi.cgi?hours=24"> 

Creating the cgi to do what you want is the fun part

------
thanks
  kevin.foote

On Thu, 14 Apr 2011, amir wrote:

-> hello dears
-> would you please, How?
-> is there any sample or example which you refer me on that?
-> Best Regards
-> Amir Azhdari
-> 
-> On 04/13/2011 08:52 PM, Kevin P. Foote wrote:
-> > probably 100's of ways to do this...
-> > 
-> > you could for instance have your jsp page refer to an on-the-fly cgi that
-> > gives you what you need statically or with variables that you pass in
-> > the cgi call .. ..
-> > 
-> > 
-> > ------
-> > thanks
-> >    kevin.foote
-> > 
-> > On Wed, 13 Apr 2011, amir wrote:
-> > 
-> > ->  Hello Dears,
-> > ->
-> > ->  I am Amir Azhdari, Actually i'm working in a project which i have to
-> > fetch
-> > ->  data from rrd file which already created and show it in JSP pages,
-> > ->  Kindly, would you please help me, because i searched a lot in websites,
-> > but i
-> > ->  couldn't find the way to retrieved the data into a JSP pages.
-> > ->  I will glad to hearing from You.
-> > ->  if there is a charge(cost) please let me know.
-> > ->  Best Regards
-> > ->  Amir Azhdari
-> > ->
-> > 
-> 
-> 



More information about the rrd-users mailing list