rrd_create.c contained in rrdtool-1.2.8 does not work(only amd64?). The problem is wrong type parameter(dummychar1, dummychar2) given to sscanf in function rrd_create_r. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 60195 [details, diff] This patch will fixed rrdtool-1.2.8/src/rrd_create.c
Can someone from amd64 test please and confirm this?
Created attachment 60222 [details] minimal sample code To test. % gcc zzz.c -l rrd % ./a.out /tmp/z.rrd --step 300 DS:in0:GAUGE:1500:-25:25 \ RRA:AVERAGE:0.5:1:1200 RRA:MIN:0.5:12:2400 \ RRA:MAX:0.5:12:2400 RRA:AVERAGE:0.5:12:2400 and, next failes too. % rrdtool create --step 300 DS:in0:GAUGE:1500:-25:25 \ RRA:AVERAGE:0.5:1:1200 RRA:MIN:0.5:12:2400 \ RRA:MAX:0.5:12:2400 RRA:AVERAGE:0.5:12:2400
> and, next failes too. > % rrdtool create --step 300 DS:in0:GAUGE:1500:-25:25 \ > RRA:AVERAGE:0.5:1:1200 RRA:MIN:0.5:12:2400 \ > RRA:MAX:0.5:12:2400 RRA:AVERAGE:0.5:12:2400 oops. It needs target filename. % rrdtool create /tmp/test.rrd --step .... I found rrdtools-1.2.9 fixed this problem.
can we close this one? a tcl issue was fixed 18-may-05 says changelog and there is no prob w/ 1.2.9
ok. rrdtool-1.2.9 seems good.
I took 1.2.8 out for a different bug, so it should be good for this one too. I see the patch suggested by Takahashi is included in 1.2.10, so I think we are done with this issue. Thanks for reporting.