Counters reset period

Alan DeKok aland at deployingradius.com
Mon Feb 15 20:52:11 CET 2010


liran tal wrote:
>>      Use a cron job && SQL statements.
> 
> Alan, could you explain?

  The counters are stored in a DB.  You can reset them any time you want
by just editing the DB.

> Since the '3m' reset period didn't work as I expected I patched the
> rlm_sqlcounter.c to reset counters
> on a quarterly cycle. Though I'd appreciate to hear from you another
> approach to this.

  If it works, fine.

  Alan DeKok.



More information about the Freeradius-Users mailing list