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
|
|
|
|
2022-07-22 16:01:55 -05: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 = 'oos';
|
|
|
|
|
|
|
|
|
|
$colour_area = 'CDEB8B';
|
|
|
|
|
$colour_line = '006600';
|
|
|
|
|
|
|
|
|
|
$colour_area_max = 'FFEE99';
|
|
|
|
|
|
|
|
|
|
$graph_max = 1;
|
|
|
|
|
$multiplier = 8;
|
|
|
|
|
|
|
|
|
|
$unit_text = 'Bytes';
|
|
|
|
|
|
2019-04-11 23:26:42 -05:00
|
|
|
require 'includes/html/graphs/generic_simplex.inc.php';
|