Reporting on active users using radwho

Olivier oza.4h07 at gmail.com
Mon May 16 16:50:07 UTC 2022


@Djerk:
For curiosity's sake, are your users wired or wireless connected ?

Le jeu. 12 mai 2022 à 13:00, Djerk Geurts via Freeradius-Users
<freeradius-users at lists.freeradius.org> a écrit :
>
> Over the last week, I’ve spent some time getting radsniff telemetry into Grafana via Collectd and Telegraf. Sadly radsniff direct to Telegraf doesn’t work, but that’s another story.
>
> Wanting to graph online users I then scripted a rough little bit of bash to take the output of `radwho -r -n` and output the number of active users in influx format to Telegraf. However I’ve noticed that at midnight the reported online users drop to 0 to then slowly ramp up again. This may well be normal behaviour for what I should expect from rad who output, but it’s not what I’d like to see in my graph, it’s worrying to see the number of active xDSL subscribers drop to 0. I’d rather avoid having to state such a caveat.
>
> Is there a better way to track active users using the data available from FreeRADIUS server, its tools or directly from the (MySQL) database?
>
>> Thanks,
> Djerk Geurts
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list