mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fixed scrut issue, declare array
This commit is contained in:
@@ -367,6 +367,7 @@ function poll_mib_def($device, $mib_name_table, $mib_subdir, $mib_oids, $mib_gra
|
||||
}
|
||||
|
||||
$oid_count = 0;
|
||||
$fields = array();
|
||||
foreach ($oidglist as $fulloid) {
|
||||
list($splitoid, $splitindex) = explode('.', $fulloid, 2);
|
||||
if (is_numeric($snmpdata[$splitindex][$splitoid])) {
|
||||
|
Reference in New Issue
Block a user