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