I would like to report on flapping interfaces and have not found a solution. I found this sql syntax that counts node events and wonder how to create a query for interface events. The goal is to find the most frequent interface events over time. Doing this manually, i found that one particular interface accounted for 65% of all the interface alerts. Techs have complained about missing important alerts because they were getting so many nuisance alerts.
here is the node event count script
select caption,count(*) as total
from events inner join nodes on (networknode=nodeid)
where eventtime >dateadd(hour,-24,getdate()) and eventtype=1
group by caption
having count(*)>=2