Pretty simple really.

Poll the airport base stations in includes/polling/wifi.inc.php and create RRD files for each base station named wificlient-xx_xx_xx_xx_xx_xx.rrd containing Signal/Noise/Speed info.

Modify html/pages/device/graphs.inc.php to, when iterating through the $graph_enable array, detect a $graph of 'wifi_client'. Then to iterate over each rrd file under rrd/'hostname' with a prefix of wificlient- passing the $rrd_client MAC address in the $graph_array array. The corresponding html/includes/graphs/device/wifi_client.inc.php file then plots the RRD file.

Voila.

Now, the bit that whiffs a bit is the interation over the file names. Much neater would be an SQL query to get a list of all Airport RRD files associated with a given basestation, and then, the clever bit, to also be able to use another query to get a list of all Airport basestations with which a given client MAC address has been associated so that roaming behaviour can be observed. Replacing MAC addresses with hostnames would, of course, aid usability.

Steve

On 6 Mar 2014, at 08:00, Tom Laermans <tom.laermans@powersource.cx> wrote:

The current very simple "wifi client count" was/is also under graphs/wireless, which is probably why it's there in Steve's patch. :-)

On 06/03/2014 03:50, Adam Armstrong wrote:

Depends upon how it's done, probably not with the stuff being dropped into "graphs", but if it's written in a sensible fashion I can probably move it to a better place.

adam.

On 2014-03-05 19:57, Steve Evans wrote:
Some hacking later, I have each of my airport base stations reporting
the WiFi stats seen by their clients thus:

Is this of interest for the greater good?

Steve

On 23 Feb 2014, at 22:46, Steve Evans <Steve@SCEvans.com> wrote:

Tracking roaming could be very useful for understanding where wifi access points are needed. Much of the power in data is the associations between it. Several years ago I authored the SUN-PLATFORM-MIB as an extension to the ENTITY-MIB. That was all about associations.

Steve

On 23 Feb 2014, at 21:55, Adam Armstrong <adama@memetic.org> wrote:

On 2014-02-23 14:50, Steve Evans wrote:
One challenge, if graphing the wirelessClientsTable, would be the fact
that as the clients came and went their corresponding entries in the
tables would come and go. There would therefore be gaps in the
recording of packets associated with these nodes. That's a fairly
simple concept, but how would you manage roaming whereby a client hops
between base stations? Would you try to tie these together so that a
trace of traffic associated with such a client, irrespective of base
station would be available? I think that decision might shape any
framework; ie would it be base station or client centric? Of course
more than one view may be desirable.

And you see why no one has written any software to do this before...

I try to stay away from recording any history for transient things, we'll store a count and sometimes a snapshot of the state, but more than that usually not.

Though, it depends how useful it would be in the end. We do store history for MAC accounting, and this is vaguely similar.

adam.
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium