LibreNMS/OS/Shared/Foundry.php
Method discoverProcessors
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function discoverProcessors()
{
$module_descriptions = $this->getCacheByIndex('snAgentConfigModuleDescription', 'FOUNDRY-SN-AGENT-MIB');
return \SnmpQuery::walk('FOUNDRY-SN-AGENT-MIB::snAgentCpuUtilTable')->mapTable(function ($entry, $slot, $cpu, $interval) use ($module_descriptions) {