radius.log on DB

Chris Knipe savage at savage.za.org
Mon Mar 25 11:53:31 CET 2013


Perl & File::Tail works very well for things like this...



On Mon, Mar 25, 2013 at 12:45 PM, AemNet <sysadmin-aemnet at aemnet.it> wrote:

> On 25/03/2013 11:05, Olivier Beytrison wrote:
>
>>
>> This is not possible directly from freeradius.
>>
>> What you can do, is tell FreeRadius to log to your syslog deamon (like
>> syslog-ng) and then tell syslog-ng to write the log within an INSERT
>> statement for your database. Then you can send this to your database.
>>
>> Those two links might help you :
>> http://wiki.freeradius.org/**guide/Syslog-HOWTO<http://wiki.freeradius.org/guide/Syslog-HOWTO>
>> http://vermeer.org/docs/1
>>
>> But this is beyond the scope of the freeradius list
>>
>> Olivier
>> -
>> List info/subscribe/unsubscribe? See http://www.freeradius.org/**
>> list/users.html <http://www.freeradius.org/list/users.html>
>>
>>
> Thank you for the answer and for the links Olivier, but I prefer don't use
> the syslog system if it's possilbe.
> Do you think it's possible instead to use a script (perl/bash anything
> else) after the request arrive and put it in a DB?
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/**
> list/users.html <http://www.freeradius.org/list/users.html>
>



-- 

Regards,
Chris Knipe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20130325/bb15bf66/attachment.html>


More information about the Freeradius-Users mailing list