mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 08:02:51 +02:00
fix
git-svn-id: http://www.observium.org/svn/observer/trunk@611 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -89,7 +89,7 @@ function snmpwalk_cache_twopart_oid($oid, $device, $array, $mib = 0) {
|
||||
}
|
||||
|
||||
function snmpwalk_cache_threepart_oid($oid, $device, $array, $mib = 0) {
|
||||
global $config;$debug;
|
||||
global $config, $debug;
|
||||
$cmd = $config['snmpbulkwalk'] . " -O Qs -" . $device['snmpver'] . " -c " . $device['community'] . " " .
|
||||
$device['hostname'].":".$device['port'] . " ";
|
||||
if($mib) { $cmd .= "-m $mib "; }
|
||||
|
||||
Reference in New Issue
Block a user