Archive for the tag 'session'



May 16 2009

Graph Number of Freeradius Sessions in MRTG

Published by under Freeradius,Monitoring

You can easily graph your Freeradius number of active sessions with a simple shell script if you store accounting data in a SQL database. Use the script below for Mysql:   #!/bin/bash SQL_USERNAME=radius_username SQL_DATABASE=radius SQL_PASSWORD=your_password SQL_SERVER= SQL_ACCOUNTING_TABLE=radacct BACK_DAYS=5 SESSIONS=`mysql -BN -u$SQL_USERNAME -p$SQL_PASSWORD -h $SQL_SERVER $SQL_DATABASE -e \ “SELECT COUNT(*) FROM $SQL_ACCOUNTING_TABLE \ WHERE acctstoptime IS […]

No responses yet

Sep 26 2006

Radius Packet of Disconnect

Published by under Cisco,Freeradius

Our goal here is to reset automatically a customer for whom Radius settings have changed. This is useful after putting him on restriction or cutting him off in case of extensive usage. We are surprised to find very little information about “Packet Of Disconnect” when we type Radius in a search engine. We wrote a […]

2 responses so far