[rrd-users] Can't have spaces in Title
Simon Hobson
linux at thehobsons.co.uk
Mon Apr 1 16:17:09 CEST 2013
FWIW, here's a snipped taken directly from one of my scripts :
echo "
<RRD::GRAPH ${GraphPath}/${GrFile}-${Max}-${TimeScale}.png
--title=\"${Heading} - ${TimeScaleHead}\" -v \"bits/second\"
--end ${Etime} --start end-${Period}
followed by a load of other stuff, and finnally all piped through RRD Tool :
| /usr/bin/rrdcgi --filter - > /dev/null
IIRC there are other ways I could do it now, but the scripts were written some time ago. I did it that way as building up a long arguments list was very slow, and I ran into some limits as well when I got to thousands of arguments !
As you can see, all I did was to escape the quotes.
More information about the rrd-users
mailing list