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:
Adam Amstrong
2012-02-16 17:34:28 +00:00
parent 726df0ca5f
commit 5dbfd5c855
2 changed files with 4 additions and 1 deletions

View File

@@ -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")