luci-app-statistics: increase default amount of data items in RRD
Increase the default number of data items in the RRD database from 144 to 288. This leads to smaller summarising/averaging periods, visible especially in the day & week graphs. The averaging intervals will be: 30s, 5min, 35min, 2h35min, 1d6h30min (Note: this change only applies in a live router if the RRD database is empty. E.g after reboot or after emptying the RRD database dir.) Reference to discussion at #4065 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
parent
b0a7c4ccdf
commit
c21c6668ed
2 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ return baseclass.extend({
|
|||
};
|
||||
|
||||
o = s.option(form.Value, 'RRARows', _('Rows per RRA'));
|
||||
o.default = '144';
|
||||
o.default = '288';
|
||||
o.datatype = 'min(1)';
|
||||
o.depends('enable', '1');
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ config statistics 'rrdtool'
|
|||
config statistics 'collectd_rrdtool'
|
||||
option enable '1'
|
||||
option DataDir '/tmp/rrd'
|
||||
option RRARows '144'
|
||||
option RRARows '288'
|
||||
option RRASingle '1'
|
||||
option RRATimespans '1hour 1day 1week 1month 1year'
|
||||
|
||||
|
|
Loading…
Reference in a new issue