[RADIATOR] Built-in Radiator CLI tools
hvn at open.com.au
Wed Dec 14 08:03:20 CST 2011
On 12/14/2011 08:17 AM, M P wrote:
> What is the easiest way or is there any built-in Radiator CLI tools to
> get the following information in the Linux environment?
There are at least a couple of possible sources for information in Radiator.
- SNMP with <SNMPAgent>
- Session database, see for example SessionDatabase SQL
- Authentication log, various AuthLog clauses
- StatsLog FILE and StatsLog SQL
Most likely all Linux distributions include tools from
http://www.net-snmp.org/ for command line use.
If you keep session and authentication information in SQL, you could
make queries with SQL utilities. If you store authentication log in
file, you could extract counts from there.
>  Number of current (live) sessions/users
>  Number of Access-Accept for the day/week/month
>  Number of Access-Reject for the day/week/month
SNMP agent, AuthLog and StatsLog
>  ... and any other useful and/or usage information
SNMP agent and StatsLog
See goodies/README and look for SNMP, SessionDatabase, AuthLog and
StatsLog. For example:
Radiator command line script to summarize "who is online" from
DBM or SQL SessionDatabase. Based on radwho.cgi
Heikki Vatiainen <hvn at open.com.au>
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS,
More information about the radiator