We have problem with our routerboards. Sometimes OSPF stops working and "route print" command get stuck (endless running with no results). I've trying solve this problem with Mikrotik support but they are not able to help us. This problem occurs randomly and repeatedly only on some routerboards even with new softwares and firmwares.
Is possible to make script which can reboot routerboard in case of this ospf failure? Maybe somehow detect "route print" running time and reboot in case of stuck.
Many thanks for help!