mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* massive inlines * fix style and wtf * remove rrdtool.inc.php include * fix CommonFunctions namespace issues * looking for missing class space, fix undefined class issues * style fixes
20 lines
352 B
PHP
20 lines
352 B
PHP
<?php
|
|
|
|
$scale_min = 0;
|
|
|
|
require 'includes/html/graphs/common.inc.php';
|
|
|
|
$drbd_rrd = Rrd::name($device['hostname'], ['app', 'drbd', $app['app_instance']]);
|
|
|
|
if (Rrd::checkRrdExists($drbd_rrd)) {
|
|
$rrd_filename = $drbd_rrd;
|
|
}
|
|
|
|
$ds_in = 'dr';
|
|
$ds_out = 'dw';
|
|
|
|
$multiplier = '8';
|
|
$format = 'bytes';
|
|
|
|
require 'includes/html/graphs/generic_data.inc.php';
|