[rrd-users] syntax of RRDs::create

Olivier Daury odaury at epo.nl
Mon Mar 27 15:12:39 MEST 2000


 

Hello,

I'm not sure, I understand exactly the syntax to create an RRD.
In this example:
RRDs::create ("$timeFile", "--step", 300, "DS:time:GAUGE:3600:0:U",
"RRA:MAX:0.5:1:600",
"RRA:MAX:0.5:6:600",
"RRA:MAX:0.5:24:600",
"RRA:MAX:0.5:288:732");

I think I will collect data every 300 s. A data will become unknown after
3600s (1h). The minimum limit is 0. There is no maximum limit.
I defined 4 archives: 
the first one stores 1 entry every 1*300=5 minutes during 1*300*600=180000s
(50h)
the second one stores 1 entry every 6*300=30 minutes during 6*300*600= 12,5j
etc...
Am I right ?
What's the meaning of 0.5 in RRA:MAX:0.5:1:600 ?

I want to keep one entry each 5 minutes, for 7 days and an entry each 30
minutes
for 2 weeks.
Is the syntax bellow correct ?
RRDs::create ("$timeFile", "--step", 300, "DS:time:GAUGE:3600:0:U",
"RRA:MAX:0.5:1:2016"
"RRA:MAX:0.5:6:672",
);
2016=7*24*60*60/(300*1)
672=2*7*60*60/(300*6)

Again, I put 0.5 but I don't why :-(

Regards,

Oliver somewhere in The Hague
--
__________________________________________________________________
mailto:olivier at daury.net ~ ICQ#: 18503104 ~ PGP key id: 0xC9976DCD
slamp on Undernet ~ Phone:(+31) 70 340 38 32 ~ AIM: slamp at chez.com

Consultant: n.m. Toute personne qui s’y connaît plus que vous en informatique.

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users



More information about the rrd-users mailing list