[rrd-users] Perl failing on :dashes
Chris Fogel
chris.fogel at intermetro.net
Tue Jun 17 22:31:03 CEST 2008
Using: RRDtool 1.3rc1
The following example runs fine from command line. Running the same
exact thing via perl and 'use RRDs;'
The last line:
LINE1:zweek#aaaaaa:Previous:dashes
Gives me:
problem generating the graph: Garbage found where STACK expected
Trying:
LINE1:zweek#aaaaaa:Previous:STACK:dashes
fails with:
problem generating the graph: Garbage 'dashes' after command:
Trying:
LINE1:zweek#aaaaaa:Previous:STACK
works!
----------------------------------------------------------------------
rrdtool graph /www/development/pngs/summary/x.png \
--lower-limit \
--alt-autoscale-max \
--interlace \
--imgformat='PNG' \
--vertical-label='Calls' \
--watermark='Tue Jun 17 13:22:41 2008' \
--title=x \
--width=300 \
--height=175 \
--start=now-24h \
--end=now \
--font=TITLE:22: \
DEF:a=/www/development/rrds/misc/x.rrd:in1:AVERAGE \
DEF:la=/www/development/rrds/misc/x.rrd:in1:AVERAGE:end=now-24h:start=end-24h
\
SHIFT:la:86400 \
CDEF:alpha=1,a,* \
CDEF:total=1,a,* \
CDEF:zweek=1,la,* \
AREA:total#dddd55:Total \
LINE3:total#000000: \
LINE1:alpha#0000ff: \
LINE1:zweek#aaaaaa:Previous:dashes
More information about the rrd-users
mailing list