Traffic monitor

Hi

We use Observium to monitor snmp and perform graphing on our links as well as the dude. However the graphs do not pick up quick spikes, i.e hitting a certain limit for 1 second or two.
So I implemented traffic monitor to send an email when e.g received traffic on a certain link went above 75%. This is all great and all, however it generates a lot of emails if its hit a few times.

Can one edit the script to only send an email if the traffic monitor alert is triggered e.g 5 times in 60 seconds?

/tool e-mail send to=xxx@xxxx.com subject=(“International received traffic alert >= 85%”) body=(“The international traffic has spiked please contact the network team”);
:log info “Traffic alert email-sent.”

Alternatively is there anyway in observium to show these quick spikes in a graph?