36 lines
642 B
PHP
36 lines
642 B
PHP
<?php
|
|
|
|
/**
|
|
* Observium
|
|
*
|
|
* This file is part of Observium.
|
|
*
|
|
* @package observium
|
|
* @subpackage graphs
|
|
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2023 Observium Limited
|
|
*
|
|
*/
|
|
|
|
$scale_min = 0;
|
|
|
|
include_once($config['html_dir'] . "/includes/graphs/common.inc.php");
|
|
|
|
$drbd_rrd = get_rrd_path($device, "app-drbd-" . $app['app_instance'] . ".rrd");
|
|
|
|
if (rrd_is_file($drbd_rrd)) {
|
|
$rrd_filename = $drbd_rrd;
|
|
}
|
|
|
|
$ds_in = "dr";
|
|
$ds_out = "dw";
|
|
|
|
$leg_in = "Read";
|
|
$leg_out = "Written";
|
|
|
|
$multiplier = "1024";
|
|
$format = "bytes";
|
|
|
|
include($config['html_dir'] . "/includes/graphs/generic_data.inc.php");
|
|
|
|
// EOF
|