diff options
author | smos <seth.mos@dds.nl> | 2011-10-26 10:13:38 +0200 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2011-10-26 10:13:38 +0200 |
commit | 16cc1c10bf5b5ccad91e30a5e78c9ed77742d176 (patch) | |
tree | 1416ef763079f2b0f1cc95a72ae7b70446b1b9ba /etc/inc | |
parent | 4fe54cdf04d7c79c47f5df3695285f102c2df6ec (diff) | |
download | pfsense-16cc1c10bf5b5ccad91e30a5e78c9ed77742d176.zip pfsense-16cc1c10bf5b5ccad91e30a5e78c9ed77742d176.tar.gz |
Increase the GROW for the 60 minute RRA so that we have atleast 2160 entries for 3 months worth of data.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/upgrade_config.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc index 8878f95..acb67b7 100644 --- a/etc/inc/upgrade_config.inc +++ b/etc/inc/upgrade_config.inc @@ -2060,7 +2060,7 @@ function upgrade_054_to_055() { /* we now have the rrd with the new fields, adjust the size now. */ /* RRA 2 is 60 minutes, RRA 3 is 720 minutes */ mwexec("/bin/sync"); - mwexec("$rrdtool resize {$rrddbpath}/{$database} 2 GROW 1000;/bin/mv resize.rrd {$rrddbpath}/{$database} 2>&1"); + mwexec("$rrdtool resize {$rrddbpath}/{$database} 2 GROW 2000;/bin/mv resize.rrd {$rrddbpath}/{$database} 2>&1"); mwexec("/bin/sync"); mwexec("$rrdtool resize {$rrddbpath}/{$database} 3 GROW 2000;/bin/mv resize.rrd {$rrddbpath}/{$database} 2>&1"); unset($rrdold); |