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

Simon Hobson linux at thehobsons.co.uk
Sun Jul 20 18:58:38 CEST 2008

I wrote:

>In effect, I need to do something like :
>rrdtool graph <file> `cat ${Tempfile}`
>which doesn't work - and I'm sure this will be something trivial !

And it was something trivial :-/

   eval "rrdtool graph ${GraphDef}"

does the trick. I've modified my script to build the graphing 
parameters up in a variable rather than use a file on disk.

More information about the rrd-users mailing list