2012-04-19 15:36:46 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$scale_min = 0;
|
|
|
|
|
2015-07-13 20:10:26 +02:00
|
|
|
require 'includes/graphs/common.inc.php';
|
2012-04-19 15:36:46 +00:00
|
|
|
|
2015-07-13 20:10:26 +02:00
|
|
|
$drbd_rrd = $config['rrd_dir'].'/'.$device['hostname'].'/app-drbd-'.$app['app_instance'].'.rrd';
|
2012-04-19 15:36:46 +00:00
|
|
|
|
2015-07-13 20:10:26 +02:00
|
|
|
if (is_file($drbd_rrd)) {
|
|
|
|
$rrd_filename = $drbd_rrd;
|
2012-04-19 15:36:46 +00:00
|
|
|
}
|
|
|
|
|
2015-07-13 20:10:26 +02:00
|
|
|
$ds_in = 'dr';
|
|
|
|
$ds_out = 'dw';
|
2012-04-19 15:36:46 +00:00
|
|
|
|
2015-07-13 20:10:26 +02:00
|
|
|
$multiplier = '8';
|
|
|
|
$format = 'bytes';
|
2012-04-19 15:36:46 +00:00
|
|
|
|
2015-07-13 20:10:26 +02:00
|
|
|
require 'includes/graphs/generic_data.inc.php';
|