mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-20 08:03:08 +02:00
27 lines
503 B
PHP
27 lines
503 B
PHP
<?php
|
|
|
|
$scale_min = 0;
|
|
|
|
require 'includes/graphs/common.inc.php';
|
|
|
|
$rrd = join('-', array('app', 'ceph', $vars['id'], 'pool', $vars['pool'])).'.rrd';
|
|
|
|
$ceph_pool_rrd = join('/', array($config['rrd_dir'], $device['hostname'], $rrd));
|
|
|
|
if (is_file($ceph_pool_rrd)) {
|
|
$rrd_filename = $ceph_pool_rrd;
|
|
}
|
|
|
|
$ds = 'ops';
|
|
|
|
$colour_area = 'EEEEEE';
|
|
$colour_line = '36393D';
|
|
|
|
$colour_area_max = 'FFEE99';
|
|
|
|
$graph_max = 1;
|
|
|
|
$unit_text = 'Operations';
|
|
|
|
require 'includes/graphs/generic_simplex.inc.php';
|