Re: [rrd-users] Generate graphs without a RRD?

This is a discussion on Re: [rrd-users] Generate graphs without a RRD? within the RRD Users forums, part of the Networking and Network Related category; Carsten Aulbert wrote: >(2) Since the whole thing will be part of a interactive set-up (where >people ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-22-2008
Simon Hobson
 
Posts: n/a
Default Re: [rrd-users] Generate graphs without a RRD?

Carsten Aulbert wrote:

>(2) Since the whole thing will be part of a interactive set-up (where
>people can access different time spans, zoom in etc), is it feasible to
>create a temporary RRD, fill it with data and then create the graphs if
>(1) is not be possible?



Yes, all you need to do is create a basic rrd file that covers the
time period the user requests, and fill it with data from your
database.

- create rrd file, see docs
- extract data from sql database, write query
- insert into rrd file, see docs again
- draw graph, see docs
- delete rrd file, "rm ${tempfile}"

All you need to do is write a script that works out suitable start &
end time and performs the steps above.

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


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:39 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0