mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Improved junos BGP code + WebUI
This commit is contained in:
@@ -74,6 +74,9 @@ function snmp_get_multi($device, $oids, $options='-OQUs', $mib=null, $mibdir=nul
|
||||
$cmd .= isset($retries) ? ' -r '.$retries : '';
|
||||
|
||||
$cmd .= ' '.$device['transport'].':'.$device['hostname'].':'.$device['port'];
|
||||
if (is_array($oids)) {
|
||||
$oids = implode(' ', $oids);
|
||||
}
|
||||
$cmd .= ' '.$oids;
|
||||
|
||||
if (!$debug) {
|
||||
|
Reference in New Issue
Block a user