Hello,
Please, can anyone show me the correct documentation about how to write new
modules for sqlcounter.
I meaning queries, like this:
SELECT SUM(AcctSessionTime - GREATEST(('%b' - UNIX_TIMESTAMP(AcctStartTime)),
0)) FROM radacct ......
or
"SELECT SUM(AcctInputOctets)+SUM(AcctOutputOctets) FROM radacct WHERE UserName
= '%{%k}' LIMIT 0, 30"
I don't know what GREATEST meens & destination of strange number following
after round brackets (0 or LIMIT 0 or 30).
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html