<div> </div>
<div>Thanks Peter, for the detailed description. However, I have some doubts.<br> <br>1. What does granularity mean here? How does a lower or a greater granularity affect or improve the performance of Smokeping’s graphing? In other words, how does that bother an administrator?<br>
<br>2. With steps=144, granularity is 72 minutes lasting for 36 days, with steps=12, granularity is 6 minutes lasting for 18 days. Which one does Smokeping use or default to?<br></div>
<div>3. With this calculation, does it mean that <strong>“step=300”</strong> under my <strong>*** Database ***</strong> section in <strong>config </strong>file will always maintain a graph of <strong>360 days</strong>? If yes, can I simply change the value of <strong>step</strong>, <strong>steps</strong> or <strong>rows</strong> to retain data for as long as I wish to?<br>
<br>Regards,<br>Jimmy</div>
<div> </div>
<div>=-=-=-=</div>
<div><br><br> </div>
<div class="gmail_quote">On Sat, Jan 2, 2010 at 12:27 AM, Peter Kristolaitis <span dir="ltr"><<a href="mailto:alter3d@alter3d.ca">alter3d@alter3d.ca</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div bgcolor="#ffffff" text="#000000">First of all, happy new year to everyone on the list! I hope that 2010 is a productive and fruitful year for you all.<br><br>To answer the easy question first -- yes, your RRA files will be 2.8MB forever. An RRA 'database' contains a finite, static number of records, and old records are discarded as new data is put in; rrdtool makes the files large enough to handle all possible records at creation time, so your file will never grow.<br>
<br>With regard to how long Smokeping will continue graphing -- well, forever. Because old records are cycled out when new data is put in, Smokeping will continue to operate indefinitely and will only show 'current' data. A related issue is how much *history* will be retained, and this is strictly dependent on how you've configured Smokeping (specifically, the 'step' value and the 'steps' and 'rows' data from the RRA definitions in the '*** Database ***' section of the configuration file).<br>
<br>Example:<br><pre>*** Database ***</pre><pre>step = 30
pings = 20</pre><pre><pre># cons xff steps rows
AVERAGE 0.5 1 1008
AVERAGE 0.5 12 4320
MIN 0.5 12 4320
MAX 0.5 12 4320
AVERAGE 0.5 144 720
MAX 0.5 144 720
MIN 0.5 144 720
</pre></pre>The 'step = 30' part means that Smokeping will poll (and thus generate a new RRA row) every 30 seconds.<br><br>The 'steps' part of the RRA definition are how many 'step's are consolidated for a given row. In the example, we have 1, 12, and 144; this means that we're storing data at 3 different levels of granularity: 1*30 = 30 seconds, 12*30 = 360 seconds, and 144*30 = 4320 seconds.<br>
<br>The 'rows' part of the RRA definition tells you how many records that RRA definition will hold.<br><br>Using 'step', 'steps' and 'rows', you can calculate how much 'time' an RRA will cover:<br>
time in seconds = step * steps * rows<br><br>So if we look at the line "AVERAGE 0.5 144 720", it will hold:<br> time = 30 * 144 * 720 = 3,110,400 seconds (36 days)<br><br>This means that you will be able to get at most 36 days of history at a granularity of 72 minutes (30*144 seconds). If you wanted to see the data more granularly (6 minutes -- 30*12 seconds), then you would have to set your graphs to show at most 30*12*4320 = 1,555,200 seconds (18 days).<br>
<br>- Peter<br><br><br><br>Jimmyboy wrote:
<blockquote type="cite">
<div>
<div></div>
<div class="h5">
<div>Hi All,</div>
<div> </div>
<div>I am using Smokeping 2.3 on my Ubuntu desktop machine since more than 1 month. The size of all .rra files shows up as 2.8MB ever since they have been created.</div>
<div> </div>
<div>Can anyone tell me how do I know till what time would Smokeping continue graphing. Is it going to be a few months, 1 year or 2, etc...? Will the size remain 2.8MB forever?</div>
<div> </div>
<div> </div>
<div>Thanks,</div>
<div>Jimmy Jose</div>
<div> </div>
<div>=-=-=</div></div></div><pre><hr size="4" width="90%">
_______________________________________________
smokeping-users mailing list
<a href="mailto:smokeping-users@lists.oetiker.ch" target="_blank">smokeping-users@lists.oetiker.ch</a>
<a href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a>
</pre></blockquote><br></div></blockquote></div><br>