mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-26 08:03:51 +02:00
fixed junos bgp4 polling :(
This commit is contained in:
@@ -13,7 +13,7 @@ if ($config['enable_bgp'])
|
||||
$peer2 = FALSE;
|
||||
echo("Checking BGP peer ".$peer['bgpPeerIdentifier']." ");
|
||||
|
||||
if (!empty($peer['bgpPeerIdentifier']) && $device['os'] != "junos")
|
||||
if ((!strstr($peer['bgpPeerIdentifier'],':') || !empty($peer['bgpPeerIdentifier']) && $device['os'] != "junos"))
|
||||
{
|
||||
# v4 BGP4 MIB
|
||||
// FIXME - needs moved to function
|
||||
|
||||
Reference in New Issue
Block a user