2020-09-18 20:19:20 +05:30
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
$scale_min = 1000;
|
|
|
|
|
|
|
|
|
|
require 'includes/html/graphs/common.inc.php';
|
|
|
|
|
|
2022-07-22 16:01:55 -05:00
|
|
|
$opensips_rrd = Rrd::name($device['hostname'], ['app', 'opensips', $app->app_id]);
|
2020-09-18 20:19:20 +05:30
|
|
|
|
2021-03-28 17:25:30 -05:00
|
|
|
if (Rrd::checkRrdExists($opensips_rrd)) {
|
2020-09-18 20:19:20 +05:30
|
|
|
$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';
|