Ask for your help to write script for mailing when change active route
Failover made as described by link http://wiki.mikrotik.com/wiki/Advanced_Routing_Failover_without_Scripting
e.g.
/ip route
add dst-address=Host1 gateway=GW1 scope=10
add dst-address=Host2 gateway=GW2 scope=10
/ip route
add distance=1 gateway=Host1 check-gateway=ping
add distance=2 gateway=Host2 check-gateway=ping
How to make so that when down ISP1 and switching a route on ISP2 and when switching back on ISP1 mail was sent?