2010-10-31 20:24:21 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
include("includes/graphs/common.inc.php");
|
|
|
|
|
2011-11-03 12:51:57 +00:00
|
|
|
$rrd_filename = $config["rrd_dir"] . '/' . $device["hostname"] . '/app-mysql-'.$app["app_id"].'.rrd';
|
2010-10-31 20:24:21 +00:00
|
|
|
|
2011-11-03 12:51:57 +00:00
|
|
|
$array = array('IBTNx' => 'Transactions created',
|
|
|
|
);
|
|
|
|
|
|
|
|
$i = 0;
|
|
|
|
if (is_file($rrd_filename))
|
2011-03-17 14:27:03 +00:00
|
|
|
{
|
2011-11-03 12:51:57 +00:00
|
|
|
foreach ($array as $ds => $vars)
|
|
|
|
{
|
|
|
|
$rrd_list[$i]['filename'] = $rrd_filename;
|
|
|
|
if (is_array($vars))
|
|
|
|
{
|
|
|
|
$rrd_list[$i]['descr'] = $vars['descr'];
|
|
|
|
} else {
|
|
|
|
$rrd_list[$i]['descr'] = $vars;
|
|
|
|
}
|
|
|
|
$rrd_list[$i]['ds'] = $ds;
|
|
|
|
$i++;
|
|
|
|
}
|
|
|
|
} else { echo("file missing: $file"); }
|
2010-10-31 20:24:21 +00:00
|
|
|
|
2011-11-03 12:51:57 +00:00
|
|
|
$colours = "mixed";
|
|
|
|
$nototal = 1;
|
|
|
|
$unit_text = "transactions";
|
2010-10-31 20:24:21 +00:00
|
|
|
|
2011-11-03 12:51:57 +00:00
|
|
|
include("includes/graphs/generic_multi_simplex_seperated.inc.php");
|
2010-10-31 20:24:21 +00:00
|
|
|
|
2011-11-03 12:51:57 +00:00
|
|
|
?>
|