OPNsense Forum
Archive => 16.7 Legacy Series => Topic started by: wifimasters on September 28, 2016, 04:59:55 pm
-
Dear Devs,
I am wondering if there's plans to add a widget for captive portal users located in the dashboard?
Cheers!
-
Hi wifimasters,
What kind of widget are we talking about in terms of visible statistics?
Adding a widget is not hard, designing a useful widget is. :)
Cheers,
Franco
-
Hello franco,
How are you doing? We appreciate your time in the forum.
I am looking at similar to M0w0wall & pfSense where in the Dashboard I can see who are the connected clients, their IPs, duration/time, etc.. Some useful information.
Cheers!
-
Connected IPs per network can be pretty big and we already have multiple CPs that need to be tied into one widget.
So I could see something like an overview per captive portal zone: name of zone, http/https active, active clients, current bandwidth statistics.
Would that be enough as a first version?
Cheers,
Franco
-
yes, it would be enough. ;D
-
Dear Admins, do we have update on this? we are planing to run a neighborhood hot spot business and will need such feature.
thank you
-
That would be a great feature.
Would it be possible also to integrate a statistic for the connected users, for example to see how much clients were connected yesterday at 09.00?
-
That would be a great feature.
Would it be possible also to integrate a statistic for the connected users, for example to see how much clients were connected yesterday at 09.00?
For now i solved it with the following script, witch will write date and time and the number off logged in users in the cplogins.txt and this script is scheduled every 5 minutes:
z=$(date +"%d.%m.%Y %H:%M")
l=$(configctl captiveportal list_clients 0 | grep -w "anonymous" | wc -l)
echo $z $l >> /root/cplogins.txt