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

@ -5,52 +5,50 @@
*
* This file is part of Observium.
*
* @package observium
* @subpackage graphs
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2019 Observium Limited
* @package observium
* @subpackage graphs
* @copyright (C) Adam Armstrong
*
*/
global $config, $device;
$cp_stats = array(
'timer' => 'Timer',
'snapshot' => 'Snapshot',
'low_water' => 'Low Water',
'high_water' => 'High Water',
'log_full' => 'NV Log Full',
'cp' => 'Back to Back CPs',
'flush' => 'Write Flush',
'sync' => 'Sync',
'low_vbuf' => 'Low Virtual Buffers',
'cp_deferred' => 'Deferred CPs',
$cp_stats = [
'timer' => 'Timer',
'snapshot' => 'Snapshot',
'low_water' => 'Low Water',
'high_water' => 'High Water',
'log_full' => 'NV Log Full',
'cp' => 'Back to Back CPs',
'flush' => 'Write Flush',
'sync' => 'Sync',
'low_vbuf' => 'Low Virtual Buffers',
'cp_deferred' => 'Deferred CPs',
'low_datavecs' => 'Low Datavecs'
);
];
foreach ($cp_stats as $stat => $descr)
{
$rrd_filename = get_rrd_path($device, 'netapp-cp.rrd');
foreach ($cp_stats as $stat => $descr) {
$rrd_filename = get_rrd_path($device, 'netapp-cp.rrd');
if (rrd_is_file($rrd_filename))
{
#$descr = nicecase($stat);
if (rrd_is_file($rrd_filename)) {
#$descr = nicecase($stat);
$rrd_list[$i]['filename'] = $rrd_filename;
$rrd_list[$i]['descr'] = $descr;
$rrd_list[$i]['ds'] = $stat;
}
$rrd_list[$i]['filename'] = $rrd_filename;
$rrd_list[$i]['descr'] = $descr;
$rrd_list[$i]['ds'] = $stat;
}
}
$unit_text = 'Operations/s';
$units = '';
$units = '';
$total_units = '';
$colours = 'mixed';
$colours = 'mixed';
$scale_min = '0';
#$scale_max = '100';
$text_orig = 1;
$nototal = 1;
$nototal = 1;
include('includes/graphs/generic_multi_simplex_separated.inc.php');