Re: Reprocessing Accounting Detail Files Without Affecting FreeRADIUS

Matthew Newton via Freeradius-Users <[email protected]>
Newsgroups gmane.comp.freeradius.user
Message-ID <[email protected]>

On 08/03/2025 10:54, Erdal Emlik via Freeradius-Users wrote:
> I am writing to seek advice on the best approach to reprocess accounting detail files without affecting the live operation of FreeRADIUS. Currently, I write accounting records into detail files in 15-minute intervals. However, sometimes I occasionally need to reprocess these files at a later time.
> 
> Would radrelay be the right tool for this, or is there a better approach? I am considering a solution where I can trigger the reprocessing via a single command or have a listener that can be activated with restarting FreeRADIUS.

radrelay these days is just a FreeRADIUS config that reads detail files 
and processes them.

Either start a separate instance of the daemon using that config to 
process as and when (the -n option is helpful here), or set up a main 
detail listener in the normal config that points to a file (or glob) 
that doesn't normally exist. When you want to process a file, copy it to 
the location that the listener is looking at.

-- 
Matthew
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.