Files
librenms-librenms/html/includes/graphs/application/drbd_network_bits.inc.php
T

19 lines
333 B
PHP
Raw Normal View History

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
$drbd_rrd = rrd_name($device['hostname'], array('app', 'drbd', $app['app_instance']));
2012-04-19 15:36:46 +00:00
if (rrdtool_check_rrd_exists($drbd_rrd)) {
2015-07-13 20:10:26 +02:00
$rrd_filename = $drbd_rrd;
2012-04-19 15:36:46 +00:00
}
2015-07-13 20:10:26 +02:00
$ds_in = 'nr';
$ds_out = 'ns';
2012-04-19 15:36:46 +00:00
2015-07-13 20:10:26 +02:00
$multiplier = '8';
2012-04-19 15:36:46 +00:00
2015-07-13 20:10:26 +02:00
require 'includes/graphs/generic_data.inc.php';