radclient command to provide freeradius statistics. It is not recommended to run it every second.
Accounting counters: [optional]
Proxy authentication counters: [optional]
Proxy accounting counters: [optional]
local: host : 'localhost' port : '18121' secret : 'adminsecret' acct : False # Freeradius accounting statistics. proxy_auth : False # Freeradius proxy authentication statistics. proxy_acct : False # Freeradius proxy accounting statistics.
Freeradius server configuration:
The configuration for the status server is automatically created in the sites-available directory. By default, server is enabled and can be queried from every client. FreeRADIUS will only respond to status-server messages, if the status-server virtual server has been enabled.
To do this, create a link from the sites-enabled directory to the status file in the sites-available directory:
- cd sites-enabled
- ln -s ../sites-available/status status
and restart/reload your FREERADIUS server.