I have more than 30 Mikrotik servers over my network, Recently i had a problem with my rj45 connectors due to humidity and rain
The problem as known is to get ethernet rate "10Mbps", So i tried to make a simple script .. who will check all my Ethernet names and rate's every while of time, And to report me by Telegram bot if there is a "10Mbps" Ethernet rate with a message contains the damaged ethernet name ...
All is working fine, Except to define the damaged one, it fails with me ...
So i'm looking for The Genius Guy

Code: Select all
/interface ethernet monitor [find] once do={
:if ($"rate" = "10Mbps") do={
/tool fetch "https://api.telegram.org/botXXX/sendMessage\?chat_id=XXXX&text=Ether $XXX rate is 10Mbps" keep-result=no;}
}