-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fieldback -- client connect time and byte count in graphical form [hourly/daily/weekly/monthly usage charts based on hostapd; hashes WiFi MAC addresses, to increase privacy] #2511
base: master
Are you sure you want to change the base?
Conversation
Huge thanks @georgejhunt for presenting this Thur 10AM NYC Time if you can, during our IIAB Call off of http://minutes.iiab.io ! |
FYI as outlined at http://minutes.iiab.io this and several other late-breaking PR's might need to be moved to the IIAB 8.0 Milestone, so that IIAB 7.2 can hopefully be released as planned & on-time before the end of September, rapidly approaching in a few short weeks. Nothing is carved in stone...but yes fyi it's time to bring IIAB 7.2's change rate way down during final testing now and in coming weeks! |
Most of the guts of this initiative are contained within @georgejhunt's associated PR iiab/iiab-factory#140 |
roles/usage/tasks/install.yml
Outdated
- name: "Set 'osm_vector_maps_installed: True'" | ||
set_fact: | ||
osm_vector_maps_installed: True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
osm_vector_maps_installed
should be usage_installed
on Lines 38 & 40.
Some clarifications and questions arising from the call earlier today: (http://minutes.iiab.io)
|
On Thu, Sep 10, 2020 at 11:52 AM A Holt ***@***.***> wrote:
Some clarifications and questions arising from the call earlier today: (
http://minutes.iiab.io)
1.
@georgejhunt <https://github.com/georgejhunt> put some prototype
charts (prototype) here:
http://10.8.0.22/gh
2.
@georgejhunt <https://github.com/georgejhunt> explained that a
CSV-like JSON file (prototype for now) is available here:
http://10.8.0.22/gh/fetch.php
3.
In a production environment, these would likely require a password to
be viewed off of:
http://box/admin/usage
4.
@jvonau <https://github.com/jvonau> has questions about several
problems that are very likely to arise as a result of the restarting of the
hostapd systemd service every 2 minutes.
Well in fact, from /etc/crontab, it is actually the hostapd_cli that is
run every 2 minutes. The accumulator buckets are reinitialized via a
hostapd restart every hour. Whether this stops a whole classrom, and might
be preblematic, will need to be tested.
/etc/crontab:
… */2 * * * * root
/opt/iiab/iiab-factory/box/generic/fieldback/iiab-wifidata.p
1 * * * * root systemctl restart hostapd
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2511 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOTQHHKEABWDKGZ75EHMXLSFEOADANCNFSM4RAIIXGQ>
.
|
Why is this installed in /opt/admin/console? It is not part of admin console. BTW, box/admin is no longer password protected; only cmdsrv is. |
When I tried putting fieldback graphs in /opt/admin/console, I got a
request for authentication, which I thought might be a good idea. If you
don't want it there, or if the password authentication has changed, I'm
sure we can put it somewhere else.
…On Fri, Sep 25, 2020 at 6:01 AM Tim Moody ***@***.***> wrote:
Why is this installed in /opt/admin/console? It is not part of admin
console. BTW, box/admin is no longer password protected; only cmdsrv is.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2511 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOTQHE7A4UX45NXM4NL63LSHSICRANCNFSM4RAIIXGQ>
.
|
I'm very surprised that you got a prompt for authentication unless you are using an old version of admin console. In the current version only calls to cmdsrv should cause authentication. If you want that then it should be part of iiab-admin-console, otherwise I would prefer that it use another url than /admin. |
We can put it in /library/www/html/. I'm not sure that usage data needs to
be protected by password.
…On Fri, Sep 25, 2020 at 7:53 AM Tim Moody ***@***.***> wrote:
I'm very surprised that you got a prompt for authentication unless you are
using an old version of admin console. In the current version only calls to
cmdsrv should cause authentication. If you want that then it should be part
of iiab-admin-console, otherwise I would prefer that it use another url
than /admin.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2511 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOTQHCIZTVWCIKZCWAF2R3SHSVHXANCNFSM4RAIIXGQ>
.
|
Based upon hostapd statistics.
A working demo has accumulated over a week of data at http://10.8.0.34/gh
Hover over bars provides limited drill down.
See https://github.com/georgejhunt/iiab/blob/fback/roles/usage/README.md