[rrd-users] rrdtool - more RRAs than it should

Crypty mrazek.tomas at seznam.cz
Tue Feb 15 18:30:38 CET 2011


Hi, 

I am working at some project and encountered a problem. I create my RRA in
this way:

RRDs::create($rrd, "--start", 1197791639, "--step", 300,
    "DS:flows:GAUGE:600:0:U",
    "RRA:AVERAGE:0.5:1:2016",
    "RRA:HWPREDICT:2016:0.1:0.0035:288:2"
    );

The syntax is in perl. This creates RRA as I think it should make - RRAs
AVERAGE, HWPREDICT, SEASONAL, DEVSEASONAL, DEVPREDICT and FAILURES.

But if I create it by explicitly defining all RRAs:

RRDs::create($rrd, "--start", 1197791639, "--step", 300,
    "DS:flows:GAUGE:600:0:U",
    "RRA:AVERAGE:0.5:1:2016",
    "RRA:HWPREDICT:2016:0.1:0.0035:288:2"
    "RRA:SEASONAL:288:0.1:2",
    "RRA:DEVSEASONAL:288:0.1:2",
    "RRA:DEVPREDICT:2016:2",
    "RRA:FAILURES:288:7:9:2"
    );

It creates something different unfortunately. It creates the same RRAs, but
additionaly it makes 4 more RRAs - again SEASONAL, DEVSEASONAL, DEVPREDICT
and FAILURES.

Is that all right and it really uses e.g. in RRA:FAILURES:288:2:5:2 values
for threshold and window or is there something wrong?

The first RRA FAILURE (by rrdtool dump) saves only zeros and ones, as
expected. But the second FAILURE saves values like 9.7685669533e+06. Can add
more information if needed.

Thanks a lot, 
Tomas

P.S. I'm using version 1.3.8 but I can't install newer one, it's not in
CentOS repositories and the policy is clear in this - I have to wait until
someone adds it in here.
-- 
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/rrdtool-more-RRAs-than-it-should-tp6028509p6028509.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.



More information about the rrd-users mailing list