Collectd plugin to gather freeradius stats
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
freeradius.py
screenshot.png

README.md

collectd-freeradius

Collectd python plugin to gather freeradius stats

Enable freeradius stats: http://wiki.freeradius.org/config/Status

Plugin uses subprocess to execute radclient. Timeout is 1 second.

To enable:

sudo cp freeradius.py /usr/lib/collectd/plugins/python

And available configuration options:

<LoadPlugin python>
    Globals true
</LoadPlugin>
<Plugin python>
    ModulePath "/usr/lib/collectd/plugins/python"
    Import "freeradius"
    <Module freeradius>
        Statistics_Type 1
        Host localhost
        Port 18121
        Secret adminsecret
    </Module>
</Plugin>

Screenshot: