[rrd-users] newbie's bugged graph

Simon Hobson linux at thehobsons.co.uk
Wed Feb 7 00:27:36 CET 2007

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 
>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.

More information about the rrd-users mailing list