Hi, ** *default { *preacct { preprocess acct_unique suffix files } accounting { if(Acct-Status-Type == 'Stop') { detail } radutmp attr_filter.accounting_response Acct-Type Status-Server { } * }* ////////////////////////// *buffered-sql {* preacct { preprocess acct_unique files } accounting { sql } * } * Which accounting section needs to be activated? Does this configuration correct? Please help. Thanks, Rams.
Message: 2
Date: Tue, 18 Aug 2009 23:29:47 +0100 From: Alan Buxey <A.L.M.Buxey@lboro.ac.uk> Subject: Re: accounting through detail module help To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Message-ID: <20090818222947.GD32575@lboro.ac.uk> Content-Type: text/plain; charset=us-ascii
Hi,
Thanks Alan. I enabled detail module in accounting. details files were created under radacct clients directories. Just wanted to check if any module already available in freeradius to scan these detail files, parse and put attributes in mysql db every 2-3 mins?
sites-available/buffered-sql ?
just ensure that the sql stuff is configured correctly...link/copy it into sites-enabled and restart the daemon
alan
------------------------------