[rrd-users] Problem with GARBAGE Messages

Dennis Robert Kelbert dennis at setinet.com.br
Fri Jan 19 20:20:25 MET 2007


Hi! The first Bash Script works fine, the second crash.
What can I do to have the second script working, using the variable $LINE?

THIS WORK
------------------
#!/bin/sh
LINE='LINE:temp1#000000:"test one"'
rrdtool graph /test.png DEF:temp1=/test.rrd:temp1:AVERAGE "$LINE"
------------------
481x168


THIS DONT WORK
------------------
#!/bin/sh
LINE='LINE:temp1#000000:"test one" LINE:temp1#00ffff:"test two"'
rrdtool graph /test.png DEF:temp1=/test.rrd:temp1:AVERAGE "$LINE"
------------------
ERROR: Garbage found where STACK expected
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list