mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-20 08:03:08 +02:00
fix bgp poller
git-svn-id: http://www.observium.org/svn/observer/trunk@3196 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -44,7 +44,7 @@ if ($config['enable_bgp'])
|
||||
}
|
||||
|
||||
## FIXME - move to function (and clean up, wtf?)
|
||||
$peer_cmd = $config['snmpget'] . " -M ".$config['mibdir'] . "/junos -m BGP4-V2-MIB-JUNIPER -OUvq " . snmp_get_auth($device);
|
||||
$peer_cmd = $config['snmpget'] . " -M ".$config['mibdir'] . "/junos -m BGP4-V2-MIB-JUNIPER -OUvq " . snmp_gen_auth($device);
|
||||
$peer_cmd .= ' -M"' . $config['install_dir'] . '/mibs/junos"';
|
||||
$peer_cmd .= " " . $device['hostname'].":".$device['port'];
|
||||
$peer_cmd .= " jnxBgpM2PeerState.0.ipv6." . $junos_v6[$peer_ip];
|
||||
|
||||
Reference in New Issue
Block a user