accounting question

Tim Sylvester tim.sylvester at networkradius.com
Tue Jan 26 04:49:43 CET 2010


You can configure FreeRADIUS to store all of the accounting information in
one file in the same directory. Look at the etc/raddb/modules/detail file
for instructions on how to change where accounting information is logged.
The default detail file name is:        detailfile =
${radacctdir}/%{Client-IP-Address}/detail-%Y%m%d. You could change it to:
detailfile = ${radacctdir}/detail-%Y%m%d and the accounting information
would be written to one file independent of the NAS.

 

Tim

 

From:
freeradius-users-bounces+tim.sylvester=networkradius.com at lists.freeradius.or
g
[mailto:freeradius-users-bounces+tim.sylvester=networkradius.com at lists.freer
adius.org] On Behalf Of Marlon Duksa
Sent: Monday, January 25, 2010 6:12 PM
To: FreeRadius users mailing list
Subject: accounting question

 

Hi,
I have redundant NAS nodes and they obviously have two different NAS-IP. If
one NAS fails, the entity for which I'm accounting traffic is automatically
switched over to the redundant NAS which  can keep sending accounting
records to Radius. However, the records  will have different NAS-IP,
NAS-Identier and NAS-Port-ID.

The acct-session-id and framed-ip-addrss will be the same (and this is what
I use to identify the entity for which I collect acct info). Is there any
way that this new records will be written to the same file as before the
failover so that I can correlate the records?

I see that the acct directory is in /var/log/freeradius/radacct/<NAS-IP>/.
This <NAS-IP> directory name is what is bothering me. Is there any way to
change this?
Thanks
Marlon



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100125/2ed197aa/attachment.html>


More information about the Freeradius-Users mailing list