Add BGP detection and polling. Fix a lot of other things.

git-svn-id: http://www.observium.org/svn/observer/trunk@161 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2008-03-15 17:58:15 +00:00
parent 935744d1ed
commit 190f5ee2ce
15 changed files with 259 additions and 57 deletions

View File

@@ -36,6 +36,15 @@ if(@mysql_result(mysql_query("select count(vlan_id) from vlans WHERE device_id =
</li>");
}
if($device['bgpLocalAs']) {
echo("
<li class=" . $select['dev-bgp'] . ">
<a href='?page=device&id=" . $device['device_id'] . "&section=dev-bgp' >
<img src='images/16/link.png' align=absmiddle border=0> BGP
</a>
</li>");
}
if(@mysql_result(mysql_query("select count(interface_id) from interfaces WHERE device_id = '" . $device['device_id'] . "'"), 0) > '0') {
echo("
<li class=" . $select['dev-ifs'] . ">