Hello, is there any method to get statistics about account start, stop and interim-update using status module something like this: echo "Message-Authenticator = 0x00, FreeRADIUS-Statistics-Type = 2, Acct-Status-Type = Start" | radclient -x localhost:18121 status adminsecret Thanks Bassem
On Jul 3, 2018, at 9:57 AM, Bassem Mettichi <mettichi@gmail.com> wrote:
is there any method to get statistics about account start, stop and interim-update using status module something like this:
echo "Message-Authenticator = 0x00, FreeRADIUS-Statistics-Type = 2, Acct-Status-Type = Start" | radclient -x localhost:18121 status adminsecret
No. All accounting data is stored in the database. Alan DeKok.
Hello, thanks a lot for your help Alan, another question please, the status module gives the total number of accounting for which period ? last 24 hours for example because i see when there is no trafic on my freeradius server and when i run the status command i get always the last number of accounting, does the status module give a realtime value for the number of accounting or for some period of time? could we reset this value to 0 if there is no trafic of accounting on the server? Thanks a lot Bassem Le mar. 3 juil. 2018 à 15:38, Alan DeKok <aland@deployingradius.com> a écrit :
On Jul 3, 2018, at 9:57 AM, Bassem Mettichi <mettichi@gmail.com> wrote:
is there any method to get statistics about account start, stop and interim-update using status module something like this:
echo "Message-Authenticator = 0x00, FreeRADIUS-Statistics-Type = 2, Acct-Status-Type = Start" | radclient -x localhost:18121 status
adminsecret
No.
All accounting data is stored in the database.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Jul 4, 2018, at 4:53 AM, Bassem Mettichi <mettichi@gmail.com> wrote:
thanks a lot for your help Alan, another question please, the status module gives the total number of accounting for which period ? last 24 hours for example
No.
because i see when there is no trafic on my freeradius server and when i run the status command i get always the last number of accounting, does the status module give a realtime value for the number of accounting or for some period of time? could we reset this value to 0 if there is no trafic of accounting on the server?
No. This is what external counters are for. You can track the counter over time. The alternative is for FreeRADIUS to keep track of every possible statistic. e.g. hourly, daily, weekly, etc. That's what a database is for. The server also has a "start time", so you know when it restarts. And, you know that the counters get reset back to zero when it restarts. Alan DeKok.
participants (2)
-
Alan DeKok -
Bassem Mettichi