20 lines
349 B
PHP
Raw Normal View History

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