radacct.pl

Alan DeKok aland at deployingradius.com
Wed Jun 1 22:07:47 CEST 2016


On Jun 1, 2016, at 2:28 PM, Alex Moen <alexm at ndtel.com> wrote:
> 
> Until just last month, we were using FreeRADIUS circa 2007? 2008?  IDK for sure, because that server has been put out to pasture.

  Sounds good.

> Anyway, in the good old days, we were able to parse the accounting logs using a perl script named radacct.pl.  We use this to determine dialup usage overage (yes, we still have some users that want to use dialup, even though it's as expensive as a DSL connection.  Don't ask me... I just work here.)

  I have no idea what that script does.  If it ever shipped with FR, I don't recall it.

> However, with our NEW and IMPROVED FreeRADIUS 3.0.4, and with the new versions of Perl, radacct.pl no longer works.

  What does that mean?

>  I guess I can't blame it, the last time it was updated was, like, 1998.
> 
> So, what is the modern way to parse the logs and get the usage information?

  Don't.  Put logs / usage information into a database.  FreeRADIUS can write directly to a database.  Why not do that?

  Alan DeKok.




More information about the Freeradius-Users mailing list