Sending accounting and interim usage to couchbase.

Alan DeKok aland at
Mon Jan 22 14:39:32 CET 2018

On Jan 22, 2018, at 8:33 AM, Mike Lopes <mlopes at> wrote:
> On the new servers, I am using the following:
> ...
> usage {
>                Acct-Status-Type        = 'lastStatus'
>                Event-Timestamp         = 'timeStamp'
>                Acct-Output-Octets64    = 'download'
>                Acct-Input-Octets64     = 'upload'

  I don't think that was ever supported.  The "usage" block certainly wasn't in the original commit  6ee87931c.

> Now on my new server, it completely skips over the usage part and I'm no longer getting the interim updates into our couchbase server.  I'm assuming that what used to work, no longer works. So it may have moved or remove.  Or probably, it I missed something in another file, possibly in mods-config.

  The code in rlm_couchbase.c definitely processes accounting interim-update packets.  So what does the debug log show when you receive such a packet?

  Alan DeKok.

More information about the Freeradius-Users mailing list