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,9 +4,9 @@
*
* This file is part of Observium.
*
* @package observium
* @subpackage discovery
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2022 Observium Limited
* @package observium
* @subpackage discovery
* @copyright (C) Adam Armstrong
*
*/
@ -18,11 +18,11 @@ $processors_array = snmpwalk_cache_oid($device, 'chStackUnitCpuUtil5Min', [], $m
$processors_array = snmpwalk_cache_oid($device, 'chStackUnitSysType', $processors_array, $mib);
foreach ($processors_array as $index => $entry) {
$descr = 'Unit ' . ($index - 1) . ' ' . $entry['chStackUnitSysType'];
$oid = ".1.3.6.1.4.1.6027.3.10.1.2.9.1.4.$index";
$usage = $entry['chStackUnitCpuUtil5Min'];
$descr = 'Unit ' . ($index - 1) . ' ' . $entry['chStackUnitSysType'];
$oid = ".1.3.6.1.4.1.6027.3.10.1.2.9.1.4.$index";
$usage = $entry['chStackUnitCpuUtil5Min'];
discover_processor($valid['processor'], $device, $oid, $index, 'ftos-sseries', $descr, 1, $usage);
discover_processor($valid['processor'], $device, $oid, $index, 'ftos-sseries', $descr, 1, $usage);
}
unset($processors_array, $index, $entry, $descr, $oid, $usage);