Quantcast
Viewing all articles
Browse latest Browse all 21093

Detect Flapping Interfaces

I had the problem that I need a solution for detecting Interfaces. With some SQL commands is it very simple do alert on flapping Interfaces. Important for this is also how often you poll the Interface Status !!!

 

Trigger Condtion:

Set up on Interface

 

JOIN Events ON Interfaces.InterfaceID = Events.NetObjectID

where eventtime >dateadd(hour,-1,getdate()) AND EventType = '10' AND Send_SMS = '1'

group by EventType, InterfaceID,FullName, Message

having count(*)>=3

 

Reset condition:

where InterfaceLastChange < dateadd(hour,-1,getdate()) AND Status = '1'

 

As Example for a Email (html):

 

Interface ${Caption} on Node ${Node.Caption} is flapping.

<BR>

For more information click <a href="${InterfaceDetailsURL}">here</a>.


So when in one Hour a line is flapping three times down (=down,up,down,up,down) the alert will trigger.

When the Interface is ok since 1hour and up there will come the reset.


Viewing all articles
Browse latest Browse all 21093

Trending Articles



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