[Chilli] radacct table updated only at logout
Siji Sunny
sijisunny at gmail.com
Wed Aug 14 08:34:53 UTC 2013
On Wed, Aug 14, 2013 at 1:20 PM, Atomikramp <atomikramp at email.it> wrote:
> Hello list,
> I hope i'm not annoying you too much with my questions, but i'm trying to
> understand the behaviour of coova-chilli and i've noticed something weird.
>
> I've configured freeradius to store accounting informations in a sql
> database, i think the coova-chilli setup is configured properly because i
> can authenticate against the radius server and access the internet with my
> users.
>
> the problem is that i have some scripts that need to query the radacct
> table for active sessions, yet the radacct table seems to be updated only
> when a user disconnects or his session is terminated due to a session
> timeout, a logout or any other event that would cause the user to be
> dropped out (nas reboot for example).
>
> I've also tried specifying the --definteriminterval parameter from the
> command line but nothing changes.
>
Hi Francesco,
Am not sure, whether this is the standard way of using or not, but its
works fine for us.
We fetched the output of "radwho" and extract the userinfo from it.
"radwho" will till you the available active sessions (users).
> also i am expecting an entry to pop in the table at login time.. but it's
> not accurring.
>
> any idea why? i'm using coova-chilli 1.3.0
>
> hope you can help me out with this
> thanks
> Sincerely
> Francesco
>
> ----
> Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP
> autenticato? GRATIS solo con Email.it<http://www.email.it/cgi-bin/start?sid=3>
>
> Sponsor:
> Offerte AGOSTO all'Hotel ADELPHI FRONTE MARE Riccione, Hotel per Famiglie
> con servizi per bambini che avranno tanto spazio per divertirsi. Hotel con
> Piscina Tutto compreso a Riccione
> Clicca qui <http://adv.email.it/cgi-bin/foclick.cgi?mid=13030&d=20130814>
>
> _______________________________________________
> Chilli mailing list
> Chilli at coova.org
> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
>
>
--
Siji Sunny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20130814/e7ceae6e/attachment.html>
More information about the Chilli
mailing list