summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2013-01-10 14:28:35 +0200
committerWarren Baker <warren@decoy.co.za>2013-01-10 14:28:35 +0200
commit016d152054e982dc18001b79ce7f0fb52b060193 (patch)
treef3579f91a69e1b80850733adf248263c827e81f9 /usr/local/www
parentf424778cf1478d2f497b396b029210b25dd49ad4 (diff)
downloadpfsense-016d152054e982dc18001b79ce7f0fb52b060193.zip
pfsense-016d152054e982dc18001b79ce7f0fb52b060193.tar.gz
Stack the queue graphs. Fixes #2692
Diffstat (limited to 'usr/local/www')
-rw-r--r--usr/local/www/status_rrd_graph_img.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/status_rrd_graph_img.php b/usr/local/www/status_rrd_graph_img.php
index d732409..f80e143 100644
--- a/usr/local/www/status_rrd_graph_img.php
+++ b/usr/local/www/status_rrd_graph_img.php
@@ -793,7 +793,7 @@ elseif((strstr($curdatabase, "-queues.rrd")) && (file_exists("$rrddbpath$curdata
$graphcmd .= "DEF:\"$name=$rrddbpath$curdatabase:$name:AVERAGE\" ";
$graphcmd .= "CDEF:\"$name-bytes_out=$name,0,$speedlimit,LIMIT,UN,0,$name,IF\" ";
$graphcmd .= "CDEF:\"$name-bits_out=$name-bytes_out,8,*\" ";
- $graphcmd .= "$AREA:\"$name-bits_out#${color}:$name\" ";
+ $graphcmd .= "$AREA:\"$name-bits_out#${color}:$name$stack\" ";
$t++;
if($t > 7) { $t = 0; }
}
@@ -823,7 +823,7 @@ elseif((strstr($curdatabase, "-queuedrops.rrd")) && (file_exists("$rrddbpath$cur
$graphcmd .= "CDEF:\"$name-bytes_out=$name,0,$speedlimit,LIMIT,UN,0,$name,IF\" ";
$graphcmd .= "CDEF:\"$name-bits_out=$name-bytes_out,8,*\" ";
$graphcmd .= "CDEF:\"$name-bits_out_neg=$name-bits_out,$multiplier,*\" ";
- $graphcmd .= "$AREA:\"$name-bits_out_neg#${color}:$name\" ";
+ $graphcmd .= "$AREA:\"$name-bits_out_neg#${color}:$name$stack\" ";
$t++;
if($t > 7) { $t = 0; }
}
OpenPOWER on IntegriCloud