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:
Tom Laermans
2010-01-29 17:09:47 +00:00
parent 6eb160aa8d
commit 22f8cfe8e0
2 changed files with 7 additions and 1 deletions

View File

@@ -117,6 +117,12 @@ while ($device = mysql_fetch_array($device_query)) {
include("includes/discovery/bgp-peers.php");
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") {
include("includes/discovery/cisco-vlans.php");

View File

@@ -1,6 +1,6 @@
<?php
### Discover BGP peers on Cisco and Juniper devices
### Discover BGP peers
echo("BGP Sessions : ");