Quantcast
Channel: THWACK: All Content - All Communities
Viewing all articles
Browse latest Browse all 20205

Help with BGP alert custom SQL

$
0
0

Hi

 

On the SQL its work.

 

ELECT TOP 1000 [NeighborID]

      ,[NodeID]

      ,[NeighborIdentifier]

      ,[NeighborIPGUID]

      ,[NeighborIP]

      ,[ProtocolID]

      ,[ProtocolStatus]

      ,[IP_Address_Type]

      ,[IsDeleted]

      ,[IP_Version]

      ,[LastChange]

      ,[AutonomousSystem]

  FROM [NetPerfMon].[dbo].[NPM_RoutingNeighbor]

 

  Where LastChange>Dateadd(MINUTE,-20, Sysdatetime()) AND ProtocolStatus<>6

 

That mean (I think) that it will look only on changes in the neighbors table & the BGP state is not 6

Why the alert editor don't like the "LastChange>Dateadd"

 

 

bgp sql.png


Viewing all articles
Browse latest Browse all 20205

Trending Articles