mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Also discover bgp on Linux boxes, this works with quagga's smux snmp plugin using bgp4-mib
git-svn-id: http://www.observium.org/svn/observer/trunk@742 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -117,6 +117,12 @@ while ($device = mysql_fetch_array($device_query)) {
|
|||||||
include("includes/discovery/bgp-peers.php");
|
include("includes/discovery/bgp-peers.php");
|
||||||
if ($device['type'] == "unknown") { $device['type'] = 'network'; } # FIXME: could also be a Netscreen...
|
if ($device['type'] == "unknown") { $device['type'] = 'network'; } # FIXME: could also be a Netscreen...
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($device['os'] == "linux")
|
||||||
|
{
|
||||||
|
# Also discover quagga peers
|
||||||
|
include("includes/discovery/bgp-peers.php");
|
||||||
|
}
|
||||||
|
|
||||||
if($device['os'] == "ios" || $device['os'] == "iosxe" || $device['os'] == "catos" || $device['os'] == "asa" || $device['os'] == "pix") {
|
if($device['os'] == "ios" || $device['os'] == "iosxe" || $device['os'] == "catos" || $device['os'] == "asa" || $device['os'] == "pix") {
|
||||||
include("includes/discovery/cisco-vlans.php");
|
include("includes/discovery/cisco-vlans.php");
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
### Discover BGP peers on Cisco and Juniper devices
|
### Discover BGP peers
|
||||||
|
|
||||||
echo("BGP Sessions : ");
|
echo("BGP Sessions : ");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user