2012-04-19 15:36:46 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
echo('<h2>'.$app['app_instance'].'</h2>');
|
|
|
|
|
|
|
|
$graphs = array('drbd_network_bits' => 'Network Traffic',
|
|
|
|
'drbd_disk_bits' => 'Disk Traffic',
|
|
|
|
'drbd_unsynced' => 'Unsynced Data',
|
2012-04-21 00:36:55 +00:00
|
|
|
'drbd_queue' => 'Queues');
|
2012-04-19 15:36:46 +00:00
|
|
|
|
|
|
|
foreach ($graphs as $key => $text)
|
|
|
|
{
|
|
|
|
|
|
|
|
$graph_array['height'] = "100";
|
|
|
|
$graph_array['width'] = "215";
|
2012-05-06 18:38:11 +00:00
|
|
|
$graph_array['to'] = $config['time']['now'];
|
2012-04-19 15:36:46 +00:00
|
|
|
$graph_array['id'] = $app['app_id'];
|
|
|
|
$graph_array['type'] = "application_".$key;
|
|
|
|
|
|
|
|
echo('<h3>'.$text.'</h3>');
|
|
|
|
|
|
|
|
echo("<tr bgcolor='$row_colour'><td colspan=5>");
|
|
|
|
|
2012-04-26 16:49:38 +00:00
|
|
|
include("includes/print-graphrow.inc.php");
|
2012-04-19 15:36:46 +00:00
|
|
|
|
|
|
|
echo("</td></tr>");
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|