git-svn-id: http://www.observium.org/svn/observer/trunk@223 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2008-04-07 18:52:26 +00:00
parent fa8ca69c0c
commit 0c5bb3403a
2 changed files with 1 additions and 115 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ function graph_fortigate_memory ($rrd, $graph, $from, $to, $width, $height, $tit
global $config;
$database = $config['rrd_dir'] . "/" . $rrd;
$imgfile = "graphs/" . "$graph";
$options = "-b 1024 -l 0 -Y -E --start $from --end $to --width $width --height $height ";
$options = "-l 0 -Y -E --start $from --end $to --width $width --height $height ";
if($width <= "300") { $options .= " --font LEGEND:7:".$config['mono_font']." --font AXIS:6:".$config['mono_font']." --font-render-mode normal "; }
$options .= " DEF:mem=$database:mem:AVERAGE";
$options .= " DEF:kcap=$database:memcapacity:AVERAGE";