Need a script to run when ping fails

Hey, I have about 100 MT routers on my network and out of them 2 are giving me issues I cannot seem to figure out. One of the interfaces quits routing traffic for no apparent reason. The interface is in a bridge and the entire bridge is not effected, just one of the interfaces. Sometimes a reboot fixes it and sometimes it does not. If I disable the bridge and re-enable it, it always fixes it. I have written the script to disable the bridge and re-enable it, but do not know how to make it run automatically when the ping fails or how to rework the watchdog to run the script. Any help would be appreciated.

Thanks
Mark Spencer

Netwatch should do the trick for you:

http://wiki.mikrotik.com/wiki/Manual:Tools/Netwatch

That is it exactly. That will take care of my problem

Thanks
Mark