sql counter clarification and issues

Alan DeKok aland at ox.org
Tue Jun 28 16:58:23 CEST 2005


"Ross Tsolakidis" <Ross.Tsolakidis at day3.com.au> wrote:
> Looking at that debug, where exactly is it resetting the counter ? 

  The "counter" module is resetting the counter.

> In the db.daily ?  Because it's not resetting in SQL.

  Yes, the counter module doesn't say it's using SQL.

> Also what is the db.daily ?  How do you read that file ?

  You don't.  Its used by the counter module to keep it's count.

> What I'm trying to achieve here is to get mysql to reset the counters
> its doing, and then start a new row if possible.
> Within the table radacct.  AcctInputOctets AcctOutputOctets.
> Is it possible to do this ? 
> Does the counter actually do that ?

  You want sqlcounter.

  Alan DeKok.



More information about the Freeradius-Users mailing list