[RADIATOR] Built-in Radiator CLI tools
Heikki Vatiainen
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.
> [1] Number of current (live) sessions/users
SessionDatabase
> [2] Number of Access-Accept for the day/week/month
> [3] Number of Access-Reject for the day/week/month
SNMP agent, AuthLog and StatsLog
> [4] ... 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:
radwho.pl
Radiator command line script to summarize "who is online" from
DBM or SQL SessionDatabase. Based on radwho.cgi
Thanks!
Heikki
--
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,
NetWare etc.
More information about the radiator
mailing list