Guennoc Bernard wrote: >Here is a small test.bat that show the pb: > >rrdtool create test.rrd -b 1157657661 -s 1 DS:C1:GAUGE:2:0:U >RRA:AVERAGE:0,5:1:3 >rrdtool update test.rrd 1157657662:500 >rrdtool update test.rrd 1157657663:1500 >rrdtool update test.rrd 1157657664:1000 >rrdtool graph test.png -s 1157657660 -e 1157657665 >DEF:1=test.rrd:C1:AVERAGE "AREA:1#FF8000:1" > >Run under windows the script produce a rigth graph, >but under linux it plots a flat line of value=1,
My guess is that it is taking the "1" as meaning the value 1.0 instead of a variable named "1" - try changing that to something with letters in it and see what happens. _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
