Commit version 24.12.13800

This commit is contained in:
2025-01-06 17:35:06 -05:00
parent b7f6a79c2c
commit 55d9218816
6133 changed files with 4239740 additions and 1374287 deletions

View File

@ -4,34 +4,34 @@
*
* This file is part of Observium.
*
* @package observium
* @subpackage graphs
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2021 Observium Limited
* @package observium
* @subpackage graphs
* @copyright (C) Adam Armstrong
*
*/
$i = 0;
$query = "SELECT * FROM `devices`";
$query = "SELECT * FROM `devices`";
$devices = dbFetchRows($query, $sql_param);
foreach ($devices as $device) {
$rrd_filename = get_rrd_path($device, "perf-poller.rrd");
$rrd_filename = get_rrd_path($device, "perf-poller.rrd");
if (device_permitted($device) && rrd_is_file($rrd_filename, TRUE)) {
if (device_permitted($device) && rrd_is_file($rrd_filename, TRUE)) {
$rrd_list[$i]['filename'] = $rrd_filename;
$rrd_list[$i]['descr'] = str_pad($device['hostname'],25) ." (".$device['os'].")";
$rrd_list[$i]['ds'] = "val";
$i++;
}
$rrd_list[$i]['filename'] = $rrd_filename;
$rrd_list[$i]['descr'] = str_pad($device['hostname'], 25) . " (" . $device['os'] . ")";
$rrd_list[$i]['ds'] = "val";
$i++;
}
}
$unit_text = "Load %";
$units = 'Seconds';
$units = 'Seconds';
$total_units = 'Sec';
$colours ='mixed-q12';
$colours = 'mixed-q12';
#$scale_min = "0";
#$scale_max = "100";
@ -40,6 +40,6 @@ $colours ='mixed-q12';
#$text_orig = 1;
$nototal = 1;
include($config['html_dir']."/includes/graphs/generic_multi_simplex_separated.inc.php");
include($config['html_dir'] . "/includes/graphs/generic_multi_simplex_separated.inc.php");
// EOF