mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 16:04:35 +02:00
UNDER MOTHERFUCKING CONSTRUCTION. because i can't work out what to put there :(
git-svn-id: http://www.observium.org/svn/observer/trunk@2205 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -4,16 +4,16 @@ if ($_GET['optb'] == "graphs" || $_GET['optc'] == "graphs") { $graphs = "graphs"
|
||||
|
||||
#$datas[] = 'overview';
|
||||
|
||||
$routing_count['bgp'] = mysql_result(mysql_query("select count(*) from bgpPeers"), 0);
|
||||
$routing_count['bgp'] = mysql_result(mysql_query("SELECT COUNT(*) from `bgpPeers`"), 0);
|
||||
if ($routing_count['bgp']) { $datas[] = 'bgp'; }
|
||||
|
||||
$routing_count['ospf'] = mysql_result(mysql_query("select count(*) from ospf_ports"), 0);
|
||||
$routing_count['ospf'] = mysql_result(mysql_query("SELECT COUNT(*) FROM `ospf_instances` WHERE `ospfAdminStat` = 'enabled'"), 0);
|
||||
if ($routing_count['ospf']) { $datas[] = 'ospf'; }
|
||||
|
||||
$routing_count['cef'] = mysql_result(mysql_query("select count(*) from cef_switching"), 0);
|
||||
$routing_count['cef'] = mysql_result(mysql_query("SELECT COUNT(*) from `cef_switching`"), 0);
|
||||
if ($routing_count['cef']) { $datas[] = 'cef'; }
|
||||
|
||||
$routing_count['vrf'] = @mysql_result(mysql_query("select count(*) from vrfs"), 0);
|
||||
$routing_count['vrf'] = @mysql_result(mysql_query("SELECT COUNT(*) from `vrfs`"), 0);
|
||||
if($routing_count['vrf']) { $datas[] = 'vrf'; }
|
||||
|
||||
#$type_text['overview'] = "Overview";
|
||||
|
||||
Reference in New Issue
Block a user