<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body 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
cite="mid:c98caf811001011032ld671d9en2ae9b33873da3c72@mail.gmail.com"
type="cite">
<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>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
smokeping-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a>
<a class="moz-txt-link-freetext" href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a>
</pre>
</blockquote>
<br>
</body>
</html>