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 <[email protected]> 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. _______________________________________________ radiator mailing list [email protected] http://www.open.com.au/mailman/listinfo/radiator
