[rrd-users] Label spaces and pipe mode

Petteri Matilainen pmatil at gmail.com
Mon Dec 17 20:57:30 CET 2007

Cole Tuininga wrote:
> Hi all - I need a little help with using rrdtool's "pipe mode".  I
> have a (potentially) lengthy command to send to rrdtool, so I'm making
> use of the pipe mode to execute it.  If you might remember from my
> last question, I'm adding spaces to the label names to help with
> alignment.  The problem I'm running into is that if I have graphing
> commands that look like:
> AREA:GRAPH7:Area 1
> AREA:GRAPH3:Area 2       :STACK
> AREA:GRAPH2:Area 3     :STACK
> AREA:GRAPH8:Area 4    :STACK
> (etc)
> and I put them all on a single line, I get an error back from the
> rrdtool pipe saying:
> ERROR: Could not make sense out of \':STACK\'
> Can anybody offer up the correct magic incantation (or even just
> correct syntax :) ) to make this work correctly?  Thanks in advance.
I'm pretty sure it's because you can't have space in Area 1 etc. without 
quotes. So you should write AREA:GRAPH7:"Area 1":STACK etc. And no 
spaces between "Area x" and :STACK.


Petteri Matilainen

More information about the rrd-users mailing list