mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Enabling "Random access" lookups for snmp_translate fixes the "MIB: Could not find all::enterprises.xxxx" error
This commit is contained in:
@ -1000,7 +1000,7 @@ function snmp_translate($oid, $module, $mibdir = null)
|
||||
}
|
||||
|
||||
$cmd = 'snmptranslate'.mibdir($mibdir);
|
||||
$cmd .= " -m $module $oid";
|
||||
$cmd .= " -IR -m $module $oid";
|
||||
// load all the MIBs looking for our object
|
||||
$cmd .= ' 2>/dev/null';
|
||||
// ignore invalid MIBs
|
||||
|
Reference in New Issue
Block a user