Script for counting # of NAS ports in use?

Radoslav Kolev radolin at del.bg
Mon Nov 14 23:17:23 CET 2005


On Mon, 2005-11-14 at 12:49 -0700, Scott Langley wrote:
> Before I write one, I wonder if anyone already has a script or module for 
> counting the number of ports on a NAS that were in use at a given point of 
> time? 
> 
> I know this can be done by collecting the SNMP data sent from the NAS, but I 
> would rather do this by querying the radacct table in a SQL database. 

The easiest thing to do then is make a simple SQL query to return the
number of current active sessions and feed the output to MRTG/RRDTool.

Regards,
Rado




More information about the Freeradius-Users mailing list