2010-10-31 20:24:21 +00:00
|
|
|
<?php
|
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
require 'includes/graphs/common.inc.php';
|
2010-10-31 20:24:21 +00:00
|
|
|
|
2016-07-07 01:33:43 -05:00
|
|
|
$mysql_rrd = rrd_name($device['hostname'], array('app', 'mysql', $app['app_id']));
|
2010-10-31 20:24:21 +00:00
|
|
|
|
2016-07-08 15:09:11 -05:00
|
|
|
if (rrdtool_check_rrd_exists($mysql_rrd)) {
|
2015-07-10 13:36:21 +02:00
|
|
|
$rrd_filename = $mysql_rrd;
|
2010-10-31 20:24:21 +00:00
|
|
|
}
|
|
|
|
|
2011-10-07 23:05:50 +00:00
|
|
|
$multiplier = 8;
|
2010-10-31 20:24:21 +00:00
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
$ds_in = 'BRd';
|
|
|
|
$ds_out = 'BSt';
|
2010-10-31 20:24:21 +00:00
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
require 'includes/graphs/generic_data.inc.php';
|