I am using free-radius version 2.10 I am trying to get the server statistics to be displayed for number of access-requests, responses etc: echo "Message-Authenticator = 0x00,FreeRADIUS-Statistics-Type = 1" | radclient localhost:18120 status testing5 but its only printing the “access accept” I have seen the following example but somehow it doesn’t work on my setup, is this some bug or some configuration issue? Can you please help? *Asking with radclient*** The next step is to ask the status server questions about the state of the server. There are some hints in the manual page of the radclient program and the configuration file of the status server itself. Combining both information you can ask i.e. about all authentication packet to and from the server: # echo "Message-Authenticator = 0x00, FreeRADIUS-Statistics-Type = 1" | \ radclient localhost:18120 status adminsecret Received response ID 180, code 2, length = 140 FreeRADIUS-Total-Access-Requests = 3 FreeRADIUS-Total-Access-Accepts = 1 FreeRADIUS-Total-Access-Rejects = 0 FreeRADIUS-Total-Access-Challenges = 0 FreeRADIUS-Total-Auth-Responses = 1 FreeRADIUS-Total-Auth-Duplicate-Requests = 0 FreeRADIUS-Total-Auth-Malformed-Requests = 0 FreeRADIUS-Total-Auth-Invalid-Requests = 0 FreeRADIUS-Total-Auth-Dropped-Requests = 3 FreeRADIUS-Total-Auth-Unknown-Types = 0 http://wiki.freeradius.org/Status Thanks Balaram Velega
Hi,
I am using free-radius version 2.10
�
I am trying to get the server statistics to be displayed for number of access-requests, responses etc:
�
�
echo "Message-Authenticator = 0x00,FreeRADIUS-Statistics-Type = 1" | radclient localhost:18120 status testing5
�
but its only printing the �access accept�
as it would do, because thats all you've asked it to do. as per the docs: echo "Message-Authenticator = 0x00, FreeRADIUS-Statistics-Type = 3" | radclient localhost:18120 status secretword alan
Hi Alan, Thisi s the response I am getting: echo "Message-Authenticator = 0x00,FreeRADIUS-Statistics-Type = 3" | radclient localhost:18120 status testing5 Received response ID 254, code 2, length = 20 whats the location of the docuemnt? whatelse should I do to print the other statistics like number of access-accepts, number of rejects etc? Can you please help? Thanks Balaram. On Fri, Oct 29, 2010 at 3:05 AM, Alan Buxey <A.L.M.Buxey@lboro.ac.uk> wrote:
Hi,
I am using free-radius version 2.10
�
I am trying to get the server statistics to be displayed for number of access-requests, responses etc:
�
�
echo "Message-Authenticator = 0x00,FreeRADIUS-Statistics-Type = 1" | radclient localhost:18120 status testing5
�
but its only printing the �access accept�
as it would do, because thats all you've asked it to do.
as per the docs:
echo "Message-Authenticator = 0x00, FreeRADIUS-Statistics-Type = 3" | radclient localhost:18120 status secretword
alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Alan Buxey -
balaram velega