> I'm trying to create a RRD with RRA for prediction, but each time I receive
> "Invalid alpha: must be between 0 and 1" error, no matter what value I set.
> This happens even when I try the examples from the documentation, for
> example this one, where alpha value is obviously between 0 and 1
> rrdtool create monitor.rrd --step 300        \
>    DS:ifOutOctets:COUNTER:1800:0:4294967295   \
>    RRA:AVERAGE:0.5:1:2016                     \
>    RRA:HWPREDICT:1440:0.1:0.0035:288

I haven't tested this, but I believe the reason is that for HW forecasting, you 
must have a SET of HW RRAs.  

Thus, just HWPREDICT on its own will not work.  It needs to also have a 
SEASONAL, DEVSEASONAL, FAILURES, and DEVPREDICT to go with it.  I had thought 
that rrdtool create would automatically create the additional RRAs but possibly 
that was a feature added later.

The above command line works for me (RRDtool 1.4.trunk) and you do not state 
which version of rrdtool you are using - possibly yours predates the 
autocreation or is simply an outdated buggy version.

I would try (1) explicitly creating all the RRAs in the HW set, or (2) 
upgrading RRDtool to the 1.4.latest version.

Steve

Steve Shipway
ITS Unix Services Design Lead
University of Auckland, New Zealand
Floor 1, 58 Symonds Street, Auckland
Phone: +64 (0)9 3737599 ext 86487
DDI: +64 (0)9 923 6487
Mobile: +64 (0)21 753 189
Email: s.ship...@auckland.ac.nz
 Please consider the environment before printing this e-mail : 
打印本邮件,将减少一棵树存活的机会


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to