would you please post the accountig query that you have
implemented, because i have implemented a query but in log file i
get acctinputoctets= 0 and acctoutputoctets= 0
this is the file: sqlcounter monthlytrafficcounter {
counter-name = Monthly-Traffic
check-name = Max-Monthly-Traffic
reply-name = Monthly-Traffic-Limit
sqlmod-inst = sql
key = User-Name
reset = monthly
query = “SELECT IFNULL (acctinputoctets + acctoutputoctets),0) as
counter FROM radacct WHERE Username=’%{%k}’ AND UNIX_TIMESTAMP
(AcctStartTime > ‘%b’ ”
}
i really need help !