syslog detail accounting

Alan DeKok aland at deployingradius.com
Thu Jun 12 20:06:52 CEST 2014


Munroe Sollog wrote:
> I currently have freeradius 2.1.12 on a cent6 system.  It is only being used to collect accounting
> data for a VPN.  The RADIUS auth is happening somewhere else.  The detail logs are currently being
> stored in /var/log/radius/radacct/<client IP>/detail-<daily-file>.  However, while radius itself
> is logging to syslog, this detail file is not using syslog.  My ultimate goal is to be able to
> forward all of these detail accounting logs to a central syslog server for analysis.

  I would suggest another solution.  Syslog is meant for line-oriented
log messages.  The detail file is definitely *not* that.

>  My current
> solution is I have a daemon that watches all of the files, slurps it up and re-emits it as syslog
> data to an rsyslog server.
> 
> I am hoping there is a way to configure freeradius to do this so I can dismantle my hack.

  If you need to move files from one machine to another, use "scp".
Syslog is absolutely the wrong approach.

  Alan DeKok.



More information about the Freeradius-Users mailing list