Marek,

What I did is provision the NAS to send the update every 30 minutes, then I put the start, update, and stop messages on seperate rows in the database then run a query that looks for the min and max transfer bytes within the month gouped by user and session. Then I subtract the min from the max for each session, then I add all the sessions up and that gives me the usage for the month with only a 30 minute laps between the month which I simply toss. This solution has been working fine for me, but watch out for session uniqueness issues because that will mess up your data real fast.

schu


marek cervenka <[EMAIL PROTECTED]> wrote:

i have adsl users(dynamic ip) which are connected to NAS longer than month
i need info about bytes transfered in so far that i cannot sumarize this from start-time, stop-time packets

...


can i do this with freeradius?




- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to