diff options
author | Warren Baker <warren@decoy.co.za> | 2013-01-10 14:20:23 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2013-01-10 14:20:23 +0200 |
commit | 401feeb3b2577cbbbeb596d63dbea81f353d0032 (patch) | |
tree | cf1776d034a23c6e39985a1cfac12cf712b63864 /usr/local | |
parent | ba17b457cd446b36b1a8050784f0b8d02ec0b535 (diff) | |
download | pfsense-401feeb3b2577cbbbeb596d63dbea81f353d0032.zip pfsense-401feeb3b2577cbbbeb596d63dbea81f353d0032.tar.gz |
Stack the queue graphs. Fixes #2692
Diffstat (limited to 'usr/local')
-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 9260b22..b22abdb 100644 --- a/usr/local/www/status_rrd_graph_img.php +++ b/usr/local/www/status_rrd_graph_img.php @@ -915,7 +915,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; } } @@ -945,7 +945,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; } } |