array('descr' => 'Old Generation Max Usage'), 'OldGenUsed' => array('descr' => 'Old Generation Current Usage'), ); $i = 0; if (rrd_is_file($rrd_filename)) { foreach ($array as $ds => $data) { $rrd_list[$i]['filename'] = $rrd_filename; $rrd_list[$i]['descr'] = $data['descr']; $rrd_list[$i]['ds'] = $ds; $i++; } } else { echo("file missing: $rrd_filename"); } $colours = "mixed"; $nototal = 1; $unit_text = "Bytes"; include($config['html_dir']."/includes/graphs/generic_multi_line.inc.php"); // EOF