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
25 lines
436 B
PHP
25 lines
436 B
PHP
<?php
|
|
|
|
$scale_min = 1000;
|
|
|
|
require 'includes/html/graphs/common.inc.php';
|
|
|
|
$icecast_rrd = Rrd::name($device['hostname'], ['app', 'icecast', $app['app_id']]);
|
|
|
|
if (Rrd::checkRrdExists($icecast_rrd)) {
|
|
$rrd_filename = $icecast_rrd;
|
|
}
|
|
|
|
$ds = 'kbyte';
|
|
|
|
$colour_area = 'F0E68C';
|
|
$colour_line = 'FF4500';
|
|
|
|
$colour_area_max = 'FFEE99';
|
|
|
|
$graph_max = 1000000;
|
|
|
|
$unit_text = 'bytes';
|
|
|
|
require 'includes/html/graphs/generic_simplex.inc.php';
|