Configure to reboot if clients can't connect ,no connections

We have an AP not sure if someone is got a trojan/worm or if someone is trying to hack it which won’t work because we have a central BMU at the office that will allow them to access the internet. Problem is every night sometime it starts disconnecting everyone and won’t let them re-connect due to excessive data retries and we have to manually reboot it. Is their a way with scripting to monitor for this and configure it to reboot automatically on it’s own? Or possibly if it can’t ping certain connections to reboot on it’s own?

You can use netwatch if you just want to ping a single client and reboot if it can’t be reached. Or, if you want to reboot if many clients are down, you can write your own netwatch like routine. An example is here:

http://www.mikrotik.com/docs/ros/2.8/appex/scripting1

GJS Thanks for the reference I’ll read up on it.