Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
350 B
PHP
Raw Permalink Normal View History

2012-04-19 15:36:46 +00:00
<?php
$scale_min = 0;
2019-04-11 23:26:42 -05:00
require 'includes/html/graphs/common.inc.php';
2012-04-19 15:36:46 +00:00
$drbd_rrd = Rrd::name($device['hostname'], ['app', 'drbd', $app->app_instance]);
2012-04-19 15:36:46 +00:00
2021-03-28 17:25:30 -05:00
if (Rrd::checkRrdExists($drbd_rrd)) {
2012-04-19 15:36:46 +00:00
$rrd_filename = $drbd_rrd;
}
$ds_in = 'dr';
$ds_out = 'dw';
$multiplier = '8';
$format = 'bytes';
2012-04-19 15:36:46 +00:00
2019-04-11 23:26:42 -05:00
require 'includes/html/graphs/generic_data.inc.php';