I don't know if it interests anyone here but in my free time I'm working on a small bash script which can act as a form of DLM preventative measure (or at least attempt to do so).
The plan is similar to what this thread is about, it could just be setup to re-sync if a certain number of error seconds have been reached for the current 24 hour period (based on the modem statistics). Alternatively it could also be setup to temporarily reduce the sync rate and then a little later on restore the sync rate if the errors stay low enough (such as on the following day or even the day after, depends on however it's configured).
It will be running on a Linux environment, but perhaps there's something on Windows (cygwin?) that can emulate Linux, or even a virtual machine. It will obviously need 'expect', possibly 'bc' and certainly 'telnet'. I can't say precisely when it'll be done but my aim is to have it finished by the end of next week.
The one thing I need to watch out for is a possible conflict with other stats monitoring programs when they login to telnet/SSH, as it seems devices like the Zyxel prefer only one active session at a time which sucks. So, as long as the stats monitoring program doesn't stay logged in to telnet/SSH or doesn't fetch stats at the exact same moment my 'expect' script does then it'll be fine
.
EDIT: If anyone is interested then drop me a PM, in the meantime I'll continue testing and improving it.