summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2011-10-26 10:13:38 +0200
committersmos <seth.mos@dds.nl>2011-10-26 10:13:38 +0200
commit16cc1c10bf5b5ccad91e30a5e78c9ed77742d176 (patch)
tree1416ef763079f2b0f1cc95a72ae7b70446b1b9ba
parent4fe54cdf04d7c79c47f5df3695285f102c2df6ec (diff)
downloadpfsense-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.
-rw-r--r--etc/inc/upgrade_config.inc2
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);
OpenPOWER on IntegriCloud