Community discussions

MikroTik App
 
stefanosp
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 54
Joined: Tue Mar 01, 2011 1:01 pm
Location: Northern Italy

check bandwidth

Wed Sep 21, 2011 6:04 pm

Please, I need to know how to run a script that alert me when the tx or rx bandwidht on a specific interface is less than a certain threshold

TIA
 
User avatar
jspool
Member
Member
Posts: 469
Joined: Sun Oct 04, 2009 4:06 am
Location: Oregon

Re: check bandwidth

Thu Sep 22, 2011 4:36 am

Please, I need to know how to run a script that alert me when the tx or rx bandwidht on a specific interface is less than a certain threshold

TIA
Below is an example of a traffic monitor that will email you when it hits the threshold you define.

/tool traffic-monitor
add disabled=no interface=ether1 name="eth1 low alarm" on-event="tool e-mail send from=routeremail.com server=address of serv\
er to=youremail@yourdomain.com subject=\"Incoming Bandwidth Just dropped below 50MB On eth1 on router x\" body=\"Edge rou\
ter traffic low\"" threshold=50000000 traffic=received trigger=below


Regards,
Josh

Who is online

Users browsing this forum: Bing [Bot], zabloc and 55 guests