mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-20 16:12:10 +02:00
remove shutdown sessions from alerted bgp session list
git-svn-id: http://www.observium.org/svn/observer/trunk@2872 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -442,7 +442,7 @@ if ($_SESSION['userlevel'] >= '5' && ($routing_count['bgp']+$routing_count['ospf
|
||||
{ ## FIXME link below broken!
|
||||
echo('
|
||||
<li><hr width=140></li>
|
||||
<li><a href="routing/protocol=bgp/state=down/"><img src="images/16/link_error.png" border="0" align="absmiddle" /> Alerted BGP (' . $bgp_alerts . ')</a></li>
|
||||
<li><a href="routing/protocol=bgp/adminstatus=start/state=down/"><img src="images/16/link_error.png" border="0" align="absmiddle" /> Alerted BGP (' . $bgp_alerts . ')</a></li>
|
||||
');
|
||||
}
|
||||
|
||||
|
||||
@@ -141,6 +141,9 @@ else
|
||||
if ($vars['adminstatus'] == "stop")
|
||||
{
|
||||
$where .= " AND (B.bgpPeerAdminStatus = 'stop')";
|
||||
} elseif ($vars['adminstatus'] == "start")
|
||||
{
|
||||
$where .= " AND (B.bgpPeerAdminStatus = 'start')";
|
||||
}
|
||||
|
||||
if ($vars['state'] == "down")
|
||||
|
||||
Reference in New Issue
Block a user