![]() |
3 years ago | |
---|---|---|
.. | ||
Makefile.inc | 6 years ago | |
README.md | 3 years ago | |
freeradius.chart.py | 5 years ago | |
freeradius.conf | 6 years ago |
Uses the radclient
command to provide freeradius statistics. It is not recommended to run it every second.
It produces:
Authentication counters:
Accounting counters: [optional]
Proxy authentication counters: [optional]
Proxy accounting counters: [optional]
Edit the python.d/freeradius.conf
configuration file using edit-config
from the Netdata config
directory, which is typically at /etc/netdata
.
cd /etc/netdata # Replace this path with your Netdata config directory, if different
sudo ./edit-config python.d/freeradius.conf
Sample:
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:
and restart/reload your FREERADIUS server.