Mkrotik sends updates to our radius which writes the info to SQL we then do scripting on it via PHP for adding the totals and checking if user has gone over limit and if so the script changes the users Radius Attributes.
What we are looking to do is at the end of each month is reset all the counters on the active pppoe connections or disconnect them all so the counters can start all over again.