Files
librenms-librenms/includes/html/graphs/application/icecast_memoryusage.inc.php
Tony Murray 1c379dcd05 Remove legacy function calls (#12651)
* 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
2021-03-29 00:25:30 +02:00

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';