Hi,<div><br></div><div>My objective is to change the step-size of the existing RRD Files.</div><div><br></div><div>From the mail chain :</div><div><h1 style="font-family:'Times New Roman'"><span style="font-weight:normal"><font>[rrd-users] changing step time?</font></span><a href="https://lists.oetiker.ch/pipermail/rrd-users/2010-April/016537.html" style="font-weight:normal"><font>https://lists.oetiker.ch/pipermail/rrd-users/2010-April/016537.html</font></a></h1>
</div><div>I got the link for the rrdjig.</div><div><br></div><div>While using the same I got error as "RRD Error: expected 1 data source readings (got 2) from 1345561230:0:0"</div><div><br></div><div>Steps I did:</div>
<div>1. Create a dummy rrd file using command:</div><div><br></div><div>rrdtool create /tmp/dummy.rrd --step 60 DS:mem:DERIVE:120:0:NaN RRA:AVERAGE:0.1:1:1200 RRA:MIN:0.1:1:1200 RRA:MAX:0.1:1:1200 RRA:AVERAGE:0.1:1:1440 RRA:MAX:0.1:1:1440 RRA:MIN:0.1:1:1440 RRA:AVERAGE:0.1:1:1260 RRA:MAX:0.1:1:1260 RRA:MIN:0.1:1:1260 RRA:AVERAGE:0.1:1:1207 RRA:MAX:0.1:1:1207 RRA:MIN:0.1:1:1207 RRA:AVERAGE:0.1:1:1201 RRA:MAX:0.1:1:1201 RRA:MIN:0.1:1:1201 </div>
<div><br></div><div>2. Check the info for the source file:</div><div><div>filename = "/tmp/service.rrd"</div><div>rrd_version = "0003"</div><div>step = 10</div><div>last_update = 1345563297</div><div>ds[rx].type = "DERIVE"</div>
<div>ds[rx].minimal_heartbeat = 20</div><div>ds[rx].min = 0.0000000000e+00</div><div>ds[rx].max = NaN</div><div>ds[rx].last_ds = "945714"</div><div>ds[rx].value = 0.0000000000e+00</div><div>ds[rx].unknown_sec = 0</div>
<div>ds[tx].type = "DERIVE"</div><div>ds[tx].minimal_heartbeat = 20</div><div>ds[tx].min = 0.0000000000e+00</div><div>ds[tx].max = NaN</div><div>ds[tx].last_ds = "5514618"</div><div>ds[tx].value = 0.0000000000e+00</div>
<div>ds[tx].unknown_sec = 0</div><div>rra[0].cf = "AVERAGE"</div><div>rra[0].rows = 1200</div><div>rra[0].pdp_per_row = 1</div><div>rra[0].xff = 1.0000000000e-01</div><div>rra[0].cdp_prep[0].value = NaN</div><div>
rra[0].cdp_prep[0].unknown_datapoints = 0</div><div>rra[0].cdp_prep[1].value = NaN</div><div>rra[0].cdp_prep[1].unknown_datapoints = 0</div><div>rra[1].cf = "MIN"</div><div>rra[1].rows = 1200</div><div>rra[1].pdp_per_row = 1</div>
<div>rra[1].xff = 1.0000000000e-01</div><div>rra[1].cdp_prep[0].value = NaN</div><div>rra[1].cdp_prep[0].unknown_datapoints = 0</div><div>rra[1].cdp_prep[1].value = NaN</div><div>rra[1].cdp_prep[1].unknown_datapoints = 0</div>
<div>rra[2].cf = "MAX"</div><div>rra[2].rows = 1200</div><div>rra[2].pdp_per_row = 1</div><div>rra[2].xff = 1.0000000000e-01</div><div>rra[2].cdp_prep[0].value = NaN</div><div>rra[2].cdp_prep[0].unknown_datapoints = 0</div>
<div>rra[2].cdp_prep[1].value = NaN</div><div>rra[2].cdp_prep[1].unknown_datapoints = 0</div><div>rra[3].cf = "AVERAGE"</div><div>rra[3].rows = 1235</div><div>rra[3].pdp_per_row = 7</div><div>rra[3].xff = 1.0000000000e-01</div>
<div>rra[3].cdp_prep[0].value = 0.0000000000e+00</div><div>rra[3].cdp_prep[0].unknown_datapoints = 0</div><div>rra[3].cdp_prep[1].value = 0.0000000000e+00</div><div>rra[3].cdp_prep[1].unknown_datapoints = 0</div><div>rra[4].cf = "MIN"</div>
<div>rra[4].rows = 1235</div><div>rra[4].pdp_per_row = 7</div><div>rra[4].xff = 1.0000000000e-01</div><div>rra[4].cdp_prep[0].value = 0.0000000000e+00</div><div>rra[4].cdp_prep[0].unknown_datapoints = 0</div><div>rra[4].cdp_prep[1].value = 0.0000000000e+00</div>
<div>rra[4].cdp_prep[1].unknown_datapoints = 0</div><div>rra[5].cf = "MAX"</div><div>rra[5].rows = 1235</div><div>rra[5].pdp_per_row = 7</div><div>rra[5].xff = 1.0000000000e-01</div><div>rra[5].cdp_prep[0].value = 0.0000000000e+00</div>
<div>rra[5].cdp_prep[0].unknown_datapoints = 0</div><div>rra[5].cdp_prep[1].value = 0.0000000000e+00</div><div>rra[5].cdp_prep[1].unknown_datapoints = 0</div><div>rra[6].cf = "AVERAGE"</div><div>rra[6].rows = 1210</div>
<div>rra[6].pdp_per_row = 50</div><div>rra[6].xff = 1.0000000000e-01</div><div>rra[6].cdp_prep[0].value = 0.0000000000e+00</div><div>rra[6].cdp_prep[0].unknown_datapoints = 0</div><div>rra[6].cdp_prep[1].value = 0.0000000000e+00</div>
<div>rra[6].cdp_prep[1].unknown_datapoints = 0</div><div>rra[7].cf = "MIN"</div><div>rra[7].rows = 1210</div><div>rra[7].pdp_per_row = 50</div><div>rra[7].xff = 1.0000000000e-01</div><div>rra[7].cdp_prep[0].value = 0.0000000000e+00</div>
<div>rra[7].cdp_prep[0].unknown_datapoints = 0</div><div>rra[7].cdp_prep[1].value = 0.0000000000e+00</div><div>rra[7].cdp_prep[1].unknown_datapoints = 0</div><div>rra[8].cf = "MAX"</div><div>rra[8].rows = 1210</div>
<div>rra[8].pdp_per_row = 50</div><div>rra[8].xff = 1.0000000000e-01</div><div>rra[8].cdp_prep[0].value = 0.0000000000e+00</div><div>rra[8].cdp_prep[0].unknown_datapoints = 0</div><div>rra[8].cdp_prep[1].value = 0.0000000000e+00</div>
<div>rra[8].cdp_prep[1].unknown_datapoints = 0</div><div>rra[9].cf = "AVERAGE"</div><div>rra[9].rows = 1202</div><div>rra[9].pdp_per_row = 223</div><div>rra[9].xff = 1.0000000000e-01</div><div>rra[9].cdp_prep[0].value = 0.0000000000e+00</div>
<div>rra[9].cdp_prep[0].unknown_datapoints = 0</div><div>rra[9].cdp_prep[1].value = 0.0000000000e+00</div><div>rra[9].cdp_prep[1].unknown_datapoints = 0</div><div>rra[10].cf = "MIN"</div><div>rra[10].rows = 1202</div>
<div>rra[10].pdp_per_row = 223</div><div>rra[10].xff = 1.0000000000e-01</div><div>rra[10].cdp_prep[0].value = 0.0000000000e+00</div><div>rra[10].cdp_prep[0].unknown_datapoints = 0</div><div>rra[10].cdp_prep[1].value = 0.0000000000e+00</div>
<div>rra[10].cdp_prep[1].unknown_datapoints = 0</div><div>rra[11].cf = "MAX"</div><div>rra[11].rows = 1202</div><div>rra[11].pdp_per_row = 223</div><div>rra[11].xff = 1.0000000000e-01</div><div>rra[11].cdp_prep[0].value = 0.0000000000e+00</div>
<div>rra[11].cdp_prep[0].unknown_datapoints = 0</div><div>rra[11].cdp_prep[1].value = 0.0000000000e+00</div><div>rra[11].cdp_prep[1].unknown_datapoints = 0</div><div>rra[12].cf = "AVERAGE"</div><div>rra[12].rows = 1201</div>
<div>rra[12].pdp_per_row = 2635</div><div>rra[12].xff = 1.0000000000e-01</div><div>rra[12].cdp_prep[0].value = 0.0000000000e+00</div><div>rra[12].cdp_prep[0].unknown_datapoints = 0</div><div>rra[12].cdp_prep[1].value = 0.0000000000e+00</div>
<div>rra[12].cdp_prep[1].unknown_datapoints = 0</div><div>rra[13].cf = "MIN"</div><div>rra[13].rows = 1201</div><div>rra[13].pdp_per_row = 2635</div><div>rra[13].xff = 1.0000000000e-01</div><div>rra[13].cdp_prep[0].value = 0.0000000000e+00</div>
<div>rra[13].cdp_prep[0].unknown_datapoints = 0</div><div>rra[13].cdp_prep[1].value = 0.0000000000e+00</div><div>rra[13].cdp_prep[1].unknown_datapoints = 0</div><div>rra[14].cf = "MAX"</div><div>rra[14].rows = 1201</div>
<div>rra[14].pdp_per_row = 2635</div><div>rra[14].xff = 1.0000000000e-01</div><div>rra[14].cdp_prep[0].value = 0.0000000000e+00</div><div>rra[14].cdp_prep[0].unknown_datapoints = 0</div><div>rra[14].cdp_prep[1].value = 0.0000000000e+00</div>
<div>rra[14].cdp_prep[1].unknown_datapoints = 0</div></div><div><br></div><div>3. Executed the rrdjig utility:</div><div>./<a href="http://rrdjig.pl">rrdjig.pl</a> -v /tmp/service.rrd /tmp/dummy.rrd </div><div><br></div><div>
4. I got the error:</div><div>RRD Error: expected 1 data source readings (got 2) from 1345561230:0:0</div><div><br></div><div>Can some one please point me to a way in which I can sole this?</div><div><br></div><div>Regards,</div>
<div>Ankzz</div><div><br></div><div><br></div><div><h1 style="font-family:'Times New Roman'"><font><span style="font-weight:normal"><br></span></font></h1></div>