Hello all,<br><br>I posted the message below on the munin userlist a couple of days back but I haven't gotten any response. Hopefully someone can help out here?<br><br>//Jacob.<br><br>--------------<br><br><div class="gmail_quote">
Hello all,<br><br>I've been digging around a bit on how munin creates its rrd files. I don't claim to<br>understand much on the inner workings on rrd, but this is what I've managed to dig up:<br><br>From my understanding, "rrdtool info <filename>" tells me that the first three rra's<br>
save one pdp per row, meaning that they don't average out anything. We have 576 rows,<br>where the "step" is 300 seconds which works out to be 48 hours.<br><br>So we have 48 hours of fully accurate data stored (nothing averaged out).<br>
<br>I want "fully accurate" data to be stored much longer. Say 90 days.<br><br>90 days = 7776000 seconds. /300 gives me 25920 rows. So I need to add 25344 rows to each rra.<br>This can be achieved by:<br><br>$ rrdtool resize filename.rrd 0 GROW 25344<br>
<br>...where "0" points out the first rra.<br><br>I could do this for the first three rra's, but what about the other ones?<br>There is a set of rra's that store data for 9 days over 30min averages if my calculations are<br>
correct. This clearly falls within the span of my 90 days above. Will these rra's ever be used?<br>Or should I modify these accordingly to something appropriate after my change above?<br><br>I guess what I'm really asking is:<br>
Is this the right way of going about this?<br><br>What I am looking for is to store "fully accurate" data for a much longer time than the (munin)<br>default of 48 hours.<br><font color="#888888"><br>//J<br>
</font></div><br>---------------<br>