Hi Guys,
Hope you are all doing well, I have received a requirement for automatic failover if latency/jitter becomes too high at a customer site. I suggested that we may be able to use the MikroTik's scripting function to automate this process that ie if a link has over (x)ms latency over (y) pings that the device disables it's primary BGP peer on its voice VLAN on the WAN. Should the pings stabilize when the script runs again then it should just re-enable to primary BGP peer. I am a complete noob when it comes to MikroTik scripting, though I will still try to figure it out as well. I just wanted to see if anyone has created a similar script and if you wouldn't mind sharing it here. The closest I had seen was a script that basically just changes the route preferences if there is packet loss but not latency. Hope we can have a fruitful discussion :)
Kind Regards,