Hi,

> Hi there,
> 
> I'm graphing the stats of the configured clients we have.
> 
> Currently I use something like
> 
> <snip>
> echo "Message-Authenticator = 0x00, FreeRADIUS-Statistics-Type = 35,
> FreeRADIUS-Stats-Client-Number = 21" | radclient 127.0.0.1:18120 status
> veryverysecret
> </snip>
> 
> to retrive them.That works out fine.
> 
> What I now miss is a way to actually get a list of clients, either the
> number (Stats-Client-Number), or even better a list of ips.
> 
> Is it somehow possible to also get the number of clients via the server
> status? Or is there another possibility, besides parsing the config file.

with 2.1.1 you can do

radmin -e 'show client list' | wc -l

..and far far more than just that noddy example

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to