mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
27 lines
476 B
PHP
27 lines
476 B
PHP
<?php
|
|
|
|
$ds_in = 'rbytes';
|
|
$in_text = 'Read';
|
|
$ds_out = 'wrbytes';
|
|
$out_text = 'Write';
|
|
|
|
$format = 'bytes';
|
|
|
|
$ceph_pool_rrd = ceph_rrd('pool');
|
|
|
|
if (is_file($ceph_pool_rrd)) {
|
|
$rrd_filename = $ceph_pool_rrd;
|
|
}
|
|
|
|
$colour_area_in = 'FF3300';
|
|
$colour_line_in = 'FF0000';
|
|
$colour_area_out = 'FF6633';
|
|
$colour_line_out = 'CC3300';
|
|
|
|
$colour_area_in_max = 'FF6633';
|
|
$colour_area_out_max = 'FF9966';
|
|
|
|
$unit_text = 'Bytes I/O';
|
|
|
|
require 'includes/graphs/generic_duplex.inc.php';
|