Understanding stats

thoralf.freitag at biotronik.com thoralf.freitag at biotronik.com
Wed Nov 26 09:28:30 CET 2008


Hello,

I am trying to get statistics information from the freeradius 2.1.1. As I 
understand the attribute "FreeRADIUS-Statistics-Type" represents the type 
of information wich will given back by the server. The value ist bit 
oriented.

bit 0 = 1 --> give me Auth stats
bit 1 = 1 -->  give me Acc stats
bit 0 = 1 and bit 1= 1 --> give me  Auth stats and Acc stats
...
bit 5 = 1--> give me client stats (according the to bit 1 and bit 2)


IMHO 

bit 1 =1 and bit 2= 1 and bit 5 =1 --> should give me Auth stats and Acc 
stats from a specified client like this


hostname> echo "Message-Authenticator = 0x00, FreeRADIUS-Statistics-Type = 
35, FreeRADIUS-Stats-Client-IP-Address = 10.0.8.2" 
|/opt/radius/bin/radclient localhost:18120 status adminsecret


         FreeRADIUS-Stats-Client-IP-Address = 10.0.8.2
        FreeRADIUS-Total-Access-Requests = 55
        FreeRADIUS-Total-Access-Accepts = 54
        FreeRADIUS-Total-Access-Rejects = 1
        FreeRADIUS-Total-Access-Challenges = 0
        FreeRADIUS-Total-Auth-Responses = 0
        FreeRADIUS-Total-Auth-Duplicate-Requests = 0
        FreeRADIUS-Total-Auth-Malformed-Requests = 0
        FreeRADIUS-Total-Auth-Invalid-Requests = 0
        FreeRADIUS-Total-Auth-Dropped-Requests = 0
        FreeRADIUS-Total-Auth-Unknown-Types = 0
        FreeRADIUS-Total-Proxy-Accounting-Requests = 108
        FreeRADIUS-Total-Proxy-Accounting-Responses = 108
        FreeRADIUS-Total-Proxy-Acct-Duplicate-Requests = 0
        FreeRADIUS-Total-Proxy-Acct-Malformed-Requests = 0
        FreeRADIUS-Total-Proxy-Acct-Invalid-Requests = 0
        FreeRADIUS-Total-Proxy-Acct-Dropped-Requests = 0
        FreeRADIUS-Total-Proxy-Acct-Unknown-Types = 0

(i wonder me why the Acc data are marked as FreeRADIUS-Total-Proxy
-Accounting-Requests) but i get the full server stats too.

        FreeRADIUS-Total-Access-Requests = 56
        FreeRADIUS-Total-Access-Accepts = 118
        FreeRADIUS-Total-Access-Rejects = 1
        FreeRADIUS-Total-Access-Challenges = 0
        FreeRADIUS-Total-Auth-Responses = 119
        FreeRADIUS-Total-Auth-Duplicate-Requests = 0
        FreeRADIUS-Total-Auth-Malformed-Requests = 0
        FreeRADIUS-Total-Auth-Invalid-Requests = 0
        FreeRADIUS-Total-Auth-Dropped-Requests = 0
        FreeRADIUS-Total-Auth-Unknown-Types = 0
        FreeRADIUS-Total-Accounting-Requests = 110
        FreeRADIUS-Total-Accounting-Responses = 110
        FreeRADIUS-Total-Acct-Duplicate-Requests = 0
        FreeRADIUS-Total-Acct-Malformed-Requests = 0
        FreeRADIUS-Total-Acct-Invalid-Requests = 0
        FreeRADIUS-Total-Acct-Dropped-Requests = 0
        FreeRADIUS-Total-Acct-Unknown-Types = 0
        FreeRADIUS-Stats-Client-IP-Address = 10.0.8.2
        FreeRADIUS-Total-Access-Requests = 55
        FreeRADIUS-Total-Access-Accepts = 54
        FreeRADIUS-Total-Access-Rejects = 1
        FreeRADIUS-Total-Access-Challenges = 0
        FreeRADIUS-Total-Auth-Responses = 0
        FreeRADIUS-Total-Auth-Duplicate-Requests = 0
        FreeRADIUS-Total-Auth-Malformed-Requests = 0
        FreeRADIUS-Total-Auth-Invalid-Requests = 0
        FreeRADIUS-Total-Auth-Dropped-Requests = 0
        FreeRADIUS-Total-Auth-Unknown-Types = 0
        FreeRADIUS-Total-Proxy-Accounting-Requests = 108
        FreeRADIUS-Total-Proxy-Accounting-Responses = 108
        FreeRADIUS-Total-Proxy-Acct-Duplicate-Requests = 0
        FreeRADIUS-Total-Proxy-Acct-Malformed-Requests = 0
        FreeRADIUS-Total-Proxy-Acct-Invalid-Requests = 0
        FreeRADIUS-Total-Proxy-Acct-Dropped-Requests = 0
        FreeRADIUS-Total-Proxy-Acct-Unknown-Types = 0




 Is this a bug or a feature. Is my understanding wrong ? What can i do get 
only the client specific stats ?


www.biotronik.com




BIOTRONIK GmbH & Co. KG
Woermannkehre 1, 12359 Berlin, Germany
Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRA 6501

Vertreten durch ihre Komplementärin:
BIOTRONIK Mess- und Therapiegeräte GmbH
Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRB 2918
Geschäftsführer: Dr. Max Schaldach, Christoph Böhmer, Dr. Werner Braun, 
Dr. Lothar Krings


This email and the information it contains including attachments are 
confidential and meant only for use by the intended recipient(s); 
disclosure or copying is strictly prohibited. If you are not addressed, 
but in the possession of this email, please notify the sender immediately 
and delete the document.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20081126/15825b7c/attachment.html>


More information about the Freeradius-Users mailing list