[rrd-users] on-the-fly graph generation

Simon Hobson linux at thehobsons.co.uk
Thu Jul 17 17:45:52 CEST 2008


Alex van den Bogaerdt wrote:

>  > So all I need to do is have a script like :
>>
>>     build graph image file
>>     send headers
>>     cat image file
>
>send headers,
>call rrdtool graph with filename '-' (without quotes).


In this case I'm deliberately caching the images (building them with 
the --lazy option) as some of them take a while to build (20s), and 
the monthly/yearly graphs don't change half as often as some users 
are refreshing their pages (I had one put a page in a frame and 
refresh it every 3 seconds !)



More information about the rrd-users mailing list