[unclas] Configure FreeRadius to generate new accounting file by hour

Foo JH jhfoo-ml at extracktor.com
Fri Feb 16 07:52:42 CET 2007


Hello Ranner,

Beautiful! Thanks for the quick pointer. I did a keyword search, but I 
guess I missed out on this one.

Ranner, Frank MR wrote:
>> -----Original Message-----
>>
>> Hi all.
>>
>> Just want to pose this qn to the community:
>>
>> Is it possible to configure FreeRadius, so that instead of 
>> generate a new accouting file per-day, can it be per-hour (or 
>> better: per-n minutes)?
>>
>> Thanks
>> -
>> List info/subscribe/unsubscribe? See 
>> http://www.freeradius.org/list/users.html
>>
>>     
>
> >From radiusd.conf:
>
>                 #  The following line creates a new detail file for
>                 #  every radius client (by IP address or hostname).
>                 #  In addition, a new detail file is created every
>                 #  day, so that the detail file doesn't have to go
>                 #  through a 'log rotation'
>                 #
>                 #  If your detail files are large, you may also want
>                 #  to add a ':%H' (see doc/variables.txt) to the end
>                 #  of it, to create a new detail file every hour, e.g.:
>                 #
>                 #   ..../detail-%Y%m%d:%H
>                 #
>                 #  This will create a new detail file for every hour.
>                 #
>                 detailfile =
> ${radacctdir}/%{Client-IP-Address}/detail-%Y%m%d
>
>
> Of course, if you are using freeradius on a Windows server, don't use
> the ':' 
> character as it is one of the forbidden filename character if I remember
> correctly.
>
> Regards
> Frank Ranner
>
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>   




More information about the Freeradius-Users mailing list