Write the accounting information to a MySQL database. Then query
the radacct table for the accounting information.
Tim
From:
freeradius-users-bounces+tim.sylvester=networkradius.com@lists.freeradius.org
[mailto:freeradius-users-bounces+tim.sylvester=networkradius.com@lists.freeradius.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