mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-31 16:23:50 +02:00
vastly improved entity-sensors and cisco-entity-sensors speed. improved entity-mib inventory. removed device_id element from oid caches. add min/max ranges to sensor graphs.
git-svn-id: http://www.observium.org/svn/observer/trunk@1669 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -9,7 +9,7 @@ if($device['os'] == "junose")
|
||||
$processors_array = snmpwalk_cache_double_oid($device, "juniSystemModule", $processors_array, "Juniper-System-MIB" , $config['install_dir']."/mibs/junose");
|
||||
if($debug) { print_r($processors_array); }
|
||||
|
||||
foreach ($processors_array[$device['device_id']] as $index => $entry)
|
||||
foreach ($processors_array as $index => $entry)
|
||||
{
|
||||
if ($entry['juniSystemModuleCpuUtilPct'] && $entry['juniSystemModuleCpuUtilPct'] != "-1")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user