diff options
author | N0YB <Al_Stu@Frontier.com> | 2013-07-19 17:15:00 -0700 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-07-19 22:32:56 -0300 |
commit | 3e2ecafe4dc4dabef611c7eb6879730107a690e2 (patch) | |
tree | 56e7e038ae252945175817ea05a38633fe782dfc | |
parent | d30232e230ebc2ff89138d89915baa3a8881c42c (diff) | |
download | pfsense-3e2ecafe4dc4dabef611c7eb6879730107a690e2.zip pfsense-3e2ecafe4dc4dabef611c7eb6879730107a690e2.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, |