summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_rrd_graph_img.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-02-25 18:12:53 +0000
committerErmal Luçi <eri@pfsense.org>2008-02-25 18:12:53 +0000
commitbdf383adc45635b4a1764830262f0a0b2bacc9e1 (patch)
treef472039b7ba4333dd8ad81240b25cb2dbae9ae67 /usr/local/www/status_rrd_graph_img.php
parent3be6078b8dff864899cdc84315e488c2c9be93d6 (diff)
downloadpfsense-bdf383adc45635b4a1764830262f0a0b2bacc9e1.zip
pfsense-bdf383adc45635b4a1764830262f0a0b2bacc9e1.tar.gz
Show the graph upside since we only show agraph for a interface now.
Diffstat (limited to 'usr/local/www/status_rrd_graph_img.php')
-rw-r--r--usr/local/www/status_rrd_graph_img.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/local/www/status_rrd_graph_img.php b/usr/local/www/status_rrd_graph_img.php
index 77b9c1c..40c1fed 100644
--- a/usr/local/www/status_rrd_graph_img.php
+++ b/usr/local/www/status_rrd_graph_img.php
@@ -511,12 +511,11 @@ elseif((strstr($curdatabase, "-queues.rrd")) && (file_exists("$rrddbpath$curdata
$t = 0;
foreach ($a_queues as $name => $q) {
$color = "$colorqueuesup[$t]";
- if($t > 0) { $stack = ":STACK"; }
+ // if($t > 0) { $stack = ":STACK"; }
$graphcmd .= "DEF:$name=$rrddbpath$curdatabase:$name:AVERAGE \\
\"CDEF:$name-bytes_out=$name,0,$upstream,LIMIT,UN,0,$name,IF\" \\
\"CDEF:$name-bits_out=$name-bytes_out,8,*\" \\
- \"CDEF:$name-bits_out_neg=$name-bits_out,$multiplier,*\" \\
- $AREA:$name-bits_out_neg#${color}:$name$stack \\";
+ $AREA:$name-bits_out#${color}:$name \\";
$t++;
if($t > 7) { $t = 0; }
}
OpenPOWER on IntegriCloud