help

balaram velega satyabalaram at gmail.com
Fri Oct 29 03:04:09 CEST 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20101028/1a9b7078/attachment.html>


More information about the Freeradius-Users mailing list