author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 30 Jul 2009 07:56:31 +0000 (07:56 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 30 Jul 2009 07:56:31 +0000 (07:56 +0000) | ||
commit | 28133354cb4fd16a4428992dcacf0732a9aff621 | |
tree | 587e98da4777aa7d0540e806b695130f2cd25ee5 | tree | snapshot |
parent | b40ef91634152ed364cb65785d5dced6ea478cc1 | commit | diff |
rrd_tune HW Update
Allow to set the smoothing window (alpha, beta, gamma) to zero.
I'm using rrdtool 1.3.8 with abberant behavior detection from the Brutlag
method. I need to use a week seasonality and no smoothing for the SEASONAL
and DEVSEASONAL. So I use rrdtune in order to set the smoothing window to
0.0. This calls the set_hwarg(). But this method is also used to tune the
alpha, beta and gamma that can't be set to 0.0 So when I tune my smoothing
window size to 0.0, it returns -1 due to the if(window<=0.0) then do
nothing. I join here a small correction with a differnent method used to set
only the smoothing window size and allowing it to be zero.
-- sylvain.luiset gmail.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1875 a5681a0c-68f1-0310-ab6d-d61299d08faa
Allow to set the smoothing window (alpha, beta, gamma) to zero.
I'm using rrdtool 1.3.8 with abberant behavior detection from the Brutlag
method. I need to use a week seasonality and no smoothing for the SEASONAL
and DEVSEASONAL. So I use rrdtune in order to set the smoothing window to
0.0. This calls the set_hwarg(). But this method is also used to tune the
alpha, beta and gamma that can't be set to 0.0 So when I tune my smoothing
window size to 0.0, it returns -1 due to the if(window<=0.0) then do
nothing. I join here a small correction with a differnent method used to set
only the smoothing window size and allowing it to be zero.
-- sylvain.luiset gmail.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1875 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/src/rrd_tune.c | diff | blob | history |