Quantcast
Channel: THWACK: Message List - General Network Management
Viewing all articles
Browse latest Browse all 1249

Re: BGP Availability Report

$
0
0

I did some digging into the DB, and don't see a way to identify availability other than since the last flap.  There are some route flapping statistics, but I don't think NPM intended to record the routing availability.  Here is the SQL version of basically what you have.

 

SELECT  

     nd.Caption,

     nd.IP_Address DeviceIP,

     rn.AutonomousSystem,

     rn.NeighborIP,

     rp.DisplayName AS RoutingProtocol,

     rpsm.DisplayName AS ProtocolStatus,

     rn.Lastchange

FROM NPM_RoutingNeighbor AS rn

     LEFT JOIN NodesData AS nd

       ON rn.NodeID=nd.NodeID

     LEFT JOIN NPM_RoutingProtocolStateMapping AS rpsm

       ON rn.ProtocolID=rpsm.ProtocolID

         AND rn.ProtocolStatus=rpsm.ProtocolStatus

     LEFT JOIN NPM_RoutingProtocol AS rp

       ON rn.ProtocolID=rp.ProtocolID

 

If you were to retain the changes on another DB, you might be able to start looking at availability.


Viewing all articles
Browse latest Browse all 1249

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>