diff options
author | N0YB <Al_Stu@Frontier.com> | 2013-07-19 17:15:00 -0700 |
---|---|---|
committer | N0YB <Al_Stu@Frontier.com> | 2013-07-19 17:15:00 -0700 |
commit | f1c252cf96f358f72a5cb8b8762b624f57275272 (patch) | |
tree | c43f6215309fb8c8ed0eef495cc1ae0482193983 | |
parent | 8e088ea50a4ad4b012cd5e8c42a5754c917a409b (diff) | |
download | pfsense-f1c252cf96f358f72a5cb8b8762b624f57275272.zip pfsense-f1c252cf96f358f72a5cb8b8762b624f57275272.tar.gz |
3652 days worth is a too much. Scale it back to more reasonable 1.25 x maximum used data (2284 days).
-rw-r--r-- | etc/inc/rrd.inc | 52 | ||||
-rw-r--r-- | usr/local/www/status_rrd_graph_img.php | 2 |
2 files changed, 27 insertions, 27 deletions
diff --git a/etc/inc/rrd.inc b/etc/inc/rrd.inc index e9d74e4..65f4db4 100644 --- a/etc/inc/rrd.inc +++ b/etc/inc/rrd.inc @@ -328,7 +328,7 @@ function enable_rrd_graphing() { $rrdcreate .= "RRA:AVERAGE:0.5:1:1200 "; $rrdcreate .= "RRA:AVERAGE:0.5:5:720 "; $rrdcreate .= "RRA:AVERAGE:0.5:60:1860 "; - $rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 "; + $rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 "; create_new_rrd($rrdcreate); unset($rrdcreate); @@ -361,7 +361,7 @@ function enable_rrd_graphing() { $rrdcreate .= "RRA:AVERAGE:0.5:1:1200 "; $rrdcreate .= "RRA:AVERAGE:0.5:5:720 "; $rrdcreate .= "RRA:AVERAGE:0.5:60:1860 "; - $rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 "; + $rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 "; create_new_rrd($rrdcreate); unset($rrdcreate); @@ -390,7 +390,7 @@ function enable_rrd_graphing() { $rrdcreate .= "RRA:AVERAGE:0.5:1:1200 "; $rrdcreate .= "RRA:AVERAGE:0.5:5:720 "; $rrdcreate .= "RRA:AVERAGE:0.5:60:1860 "; - $rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 "; + $rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 "; create_new_rrd($rrdcreate); unset($rrdcreate); @@ -415,7 +415,7 @@ function enable_rrd_graphing() { $rrdcreate .= "RRA:AVERAGE:0.5:1:1200 "; $rrdcreate .= "RRA:AVERAGE:0.5:5:720 "; $rrdcreate .= "RRA:AVERAGE:0.5:60:1860 "; - $rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 "; + $rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 "; create_new_rrd($rrdcreate); unset($rrdcreate); @@ -481,7 +481,7 @@ function enable_rrd_graphing() { $rrdcreate .= "RRA:AVERAGE:0.5:1:1200 "; $rrdcreate .= "RRA:AVERAGE:0.5:5:720 "; $rrdcreate .= "RRA:AVERAGE:0.5:60:1860 "; - $rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 "; + $rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 "; create_new_rrd($rrdcreate); unset($rrdcreate); @@ -498,7 +498,7 @@ function enable_rrd_graphing() { $rrdcreate .= "RRA:AVERAGE:0.5:1:1200 "; $rrdcreate .= "RRA:AVERAGE:0.5:5:720 "; $rrdcreate .= "RRA:AVERAGE:0.5:60:1860 "; - $rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 "; + $rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 "; create_new_rrd($rrdcreate); unset($rrdcreate); @@ -566,7 +566,7 @@ function enable_rrd_graphing() { $rrdcreate .= "RRA:AVERAGE:0.5:1:1200 "; $rrdcreate .= "RRA:AVERAGE:0.5:5:720 "; $rrdcreate .= "RRA:AVERAGE:0.5:60:1860 "; - $rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 "; + $rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 "; create_new_rrd($rrdcreate); unset($rrdcreate); } @@ -599,7 +599,7 @@ function enable_rrd_graphing() { $rrdcreate .= "RRA:AVERAGE:0.5:1:1200 "; $rrdcreate .= "RRA:AVERAGE:0.5:5:720 "; $rrdcreate .= "RRA:AVERAGE:0.5:60:1860 "; - $rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 "; + $rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 "; create_new_rrd($rrdcreate); unset($rrdcreate); @@ -634,7 +634,7 @@ function enable_rrd_graphing() { $rrdcreate .= "RRA:AVERAGE:0.5:1:1200 "; $rrdcreate .= "RRA:AVERAGE:0.5:5:720 "; $rrdcreate .= "RRA:AVERAGE:0.5:60:1860 "; - $rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 "; + $rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 "; create_new_rrd($rrdcreate); unset($rrdcreate); @@ -664,15 +664,15 @@ function enable_rrd_graphing() { $rrdcreate .= "RRA:MIN:0.5:1:1200 "; $rrdcreate .= "RRA:MIN:0.5:5:720 "; $rrdcreate .= "RRA:MIN:0.5:60:1860 "; - $rrdcreate .= "RRA:MIN:0.5:1440:3652 "; + $rrdcreate .= "RRA:MIN:0.5:1440:2284 "; $rrdcreate .= "RRA:AVERAGE:0.5:1:1200 "; $rrdcreate .= "RRA:AVERAGE:0.5:5:720 "; $rrdcreate .= "RRA:AVERAGE:0.5:60:1860 "; - $rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 "; + $rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 "; $rrdcreate .= "RRA:MAX:0.5:1:1200 "; $rrdcreate .= "RRA:MAX:0.5:5:720 "; $rrdcreate .= "RRA:MAX:0.5:60:1860 "; - $rrdcreate .= "RRA:MAX:0.5:1440:3652"; + $rrdcreate .= "RRA:MAX:0.5:1440:2284"; create_new_rrd($rrdcreate); unset($rrdcreate); @@ -701,15 +701,15 @@ function enable_rrd_graphing() { $rrdcreate .= "RRA:MIN:0.5:1:1200 "; $rrdcreate .= "RRA:MIN:0.5:5:720 "; $rrdcreate .= "RRA:MIN:0.5:60:1860 "; - $rrdcreate .= "RRA:MIN:0.5:1440:3652 "; + $rrdcreate .= "RRA:MIN:0.5:1440:2284 "; $rrdcreate .= "RRA:AVERAGE:0.5:1:1200 "; $rrdcreate .= "RRA:AVERAGE:0.5:5:720 "; $rrdcreate .= "RRA:AVERAGE:0.5:60:1860 "; - $rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 "; + $rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 "; $rrdcreate .= "RRA:MAX:0.5:1:1200 "; $rrdcreate .= "RRA:MAX:0.5:5:720 "; $rrdcreate .= "RRA:MAX:0.5:60:1860 "; - $rrdcreate .= "RRA:MAX:0.5:1440:3652"; + $rrdcreate .= "RRA:MAX:0.5:1440:2284"; create_new_rrd($rrdcreate); unset($rrdcreate); @@ -738,15 +738,15 @@ function enable_rrd_graphing() { $rrdcreate .= "RRA:MIN:0.5:1:1200 "; $rrdcreate .= "RRA:MIN:0.5:5:720 "; $rrdcreate .= "RRA:MIN:0.5:60:1860 "; - $rrdcreate .= "RRA:MIN:0.5:1440:3652 "; + $rrdcreate .= "RRA:MIN:0.5:1440:2284 "; $rrdcreate .= "RRA:AVERAGE:0.5:1:1200 "; $rrdcreate .= "RRA:AVERAGE:0.5:5:720 "; $rrdcreate .= "RRA:AVERAGE:0.5:60:1860 "; - $rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 "; + $rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 "; $rrdcreate .= "RRA:MAX:0.5:1:1200 "; $rrdcreate .= "RRA:MAX:0.5:5:720 "; $rrdcreate .= "RRA:MAX:0.5:60:1860 "; - $rrdcreate .= "RRA:MAX:0.5:1440:3652 "; + $rrdcreate .= "RRA:MAX:0.5:1440:2284 "; create_new_rrd($rrdcreate); unset($rrdcreate); @@ -774,19 +774,19 @@ function enable_rrd_graphing() { $rrdcreate .= "RRA:AVERAGE:0.5:1:1200 "; $rrdcreate .= "RRA:AVERAGE:0.5:5:720 "; $rrdcreate .= "RRA:AVERAGE:0.5:60:1860 "; - $rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 "; + $rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 "; $rrdcreate .= "RRA:MIN:0.5:1:1200 "; $rrdcreate .= "RRA:MIN:0.5:5:720 "; $rrdcreate .= "RRA:MIN:0.5:60:1860 "; - $rrdcreate .= "RRA:MIN:0.5:1440:3652 "; + $rrdcreate .= "RRA:MIN:0.5:1440:2284 "; $rrdcreate .= "RRA:MAX:0.5:1:1200 "; $rrdcreate .= "RRA:MAX:0.5:5:720 "; $rrdcreate .= "RRA:MAX:0.5:60:1860 "; - $rrdcreate .= "RRA:MAX:0.5:1440:3652 "; + $rrdcreate .= "RRA:MAX:0.5:1440:2284 "; $rrdcreate .= "RRA:LAST:0.5:1:1200 "; $rrdcreate .= "RRA:LAST:0.5:5:720 "; $rrdcreate .= "RRA:LAST:0.5:60:1860 "; - $rrdcreate .= "RRA:LAST:0.5:1440:3652 "; + $rrdcreate .= "RRA:LAST:0.5:1440:2284 "; create_new_rrd($rrdcreate); unset($rrdcreate); @@ -810,19 +810,19 @@ function enable_rrd_graphing() { $rrdcreate .= "RRA:AVERAGE:0.5:1:1200 "; $rrdcreate .= "RRA:AVERAGE:0.5:5:720 "; $rrdcreate .= "RRA:AVERAGE:0.5:60:1860 "; - $rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 "; + $rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 "; $rrdcreate .= "RRA:MIN:0.5:1:1200 "; $rrdcreate .= "RRA:MIN:0.5:5:720 "; $rrdcreate .= "RRA:MIN:0.5:60:1860 "; - $rrdcreate .= "RRA:MIN:0.5:1440:3652 "; + $rrdcreate .= "RRA:MIN:0.5:1440:2284 "; $rrdcreate .= "RRA:MAX:0.5:1:1200 "; $rrdcreate .= "RRA:MAX:0.5:5:720 "; $rrdcreate .= "RRA:MAX:0.5:60:1860 "; - $rrdcreate .= "RRA:MAX:0.5:1440:3652 "; + $rrdcreate .= "RRA:MAX:0.5:1440:2284 "; $rrdcreate .= "RRA:LAST:0.5:1:1200 "; $rrdcreate .= "RRA:LAST:0.5:5:720 "; $rrdcreate .= "RRA:LAST:0.5:60:1860 "; - $rrdcreate .= "RRA:LAST:0.5:1440:3652 "; + $rrdcreate .= "RRA:LAST:0.5:1440:2284 "; create_new_rrd($rrdcreate); unset($rrdcreate); diff --git a/usr/local/www/status_rrd_graph_img.php b/usr/local/www/status_rrd_graph_img.php index 13122ca..99d8b7e 100644 --- a/usr/local/www/status_rrd_graph_img.php +++ b/usr/local/www/status_rrd_graph_img.php @@ -99,7 +99,7 @@ $archives = array(); $archives[1] = 1200; $archives[5] = 720; $archives[60] = 1860; -$archives[1440] = 3652; +$archives[1440] = 2284; $defOptions = array( 'to' => 1, |