Files
librenms-librenms/includes/html/graphs/application/squid_sysnumread.inc.php
Jellyfrog 071ca9bc2a Apply fixes from StyleCI (#15698)
Co-authored-by: StyleCI Bot <bot@styleci.io>
2024-01-04 22:39:12 -06:00

30 lines
622 B
PHP

<?php
$name = 'squid';
$colours = 'mixed';
$unit_text = 'per second';
$unitlen = 10;
$bigdescrlen = 15;
$smalldescrlen = 15;
$dostack = 0;
$printtotal = 0;
$addarea = 1;
$transparency = 15;
$rrd_filename = Rrd::name($device['hostname'], ['app', $name, $app->app_id]);
if (Rrd::checkRrdExists($rrd_filename)) {
$rrd_list = [
[
'filename' => $rrd_filename,
'descr' => 'http io reads',
'ds' => 'sysnumreads',
'colour' => '582a72',
],
];
} else {
echo "file missing: $rrd_filename";
}
require 'includes/html/graphs/generic_v3_multiline.inc.php';