Further to earlier post, if you have a chain of linked OSPF sites you obviously have to check each hop's loopback address. So in this case I created 2 IP addresses on the Mikrotik facing the netonix so the watchdog can check against them. Essentially one to turn the radio on and one to turn it off.
- reserve_radio_watchdog.png (7.43 KiB) Viewed 45142 times
As Mikrotik Netwatch can only check 1 IP address, instead we have to use a Mikrotik Script. I schedule the following to run every minute.
#check for Site 1 (172.17.2.204), Site 2 (172.17.3.84) and Site 3 (172.17.1.236) and turn on reserve radio IP address if any of them fail
if (([/ping 172.17.2.204 interval=5 count=3] = 0) or ([/ping 172.17.3.84 interval=5 count=3] = 0) or ([/ping 172.17.1.236 interval=5 count=3] = 0)) do={
/ip address enable [find address="172.31.3.137/32"]
/ip address disable [find address="172.30.3.137/32"]} else={
/ip address disable [find address="172.31.3.137/32"]
/ip address enable [find address="172.30.3.137/32"]
}