diff options
author | Warren Baker <warren@decoy.co.za> | 2013-01-10 14:28:35 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2013-01-10 14:28:35 +0200 |
commit | 016d152054e982dc18001b79ce7f0fb52b060193 (patch) | |
tree | f3579f91a69e1b80850733adf248263c827e81f9 /usr | |
parent | f424778cf1478d2f497b396b029210b25dd49ad4 (diff) | |
download | pfsense-016d152054e982dc18001b79ce7f0fb52b060193.zip pfsense-016d152054e982dc18001b79ce7f0fb52b060193.tar.gz |
Stack the queue graphs. Fixes #2692
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/status_rrd_graph_img.php | 4 |
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; } } |