piping radacct details to a script

Alan DeKok aland at ox.org
Wed Aug 24 16:41:27 CEST 2005


marc racal <mafracal at gmail.com> wrote:
> i meant the logs under this directory
> /var/log/freeradius/radacct/some-ip-address/.  this format is due to
> the configuration which is found in the the radiusd.conf file, set as:
> 
> detailfile = ${radacctdir}/%{Client-IP-Address}/detail-%Y%m%d
> 
> thus, the term "detail" which i was referring to.

  If you want to pipe those files to a script, use "cat".

  If you want the server to execute a program when accounting packets
are received, see raddb/acct_users.

  Alan DeKok.



More information about the Freeradius-Users mailing list