0.0
No commit activity in last 3 years
No release in over 3 years
It really helps you monitor your Airport Extreme traffic.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
 Project Readme

Traffic Control

Helps you monitor your Airport Extreme traffic.

Features

Spits out some basic snmp info including:

  • Number of wireless clients
  • Number of dhcp clients
  • Uptime

Get network client information including:

  • Mac Address
  • IP Address
  • Time associated
  • Wireless strength

Example

airport = TrafficControl::Airport.new "airport.local", "public"

puts "There are around #{airport.settings["wirelessNumber"]} folk#{"s" unless airport.settings["wirelessNumber"] == 1} on your wifi"
puts airport.clients.inspect

airport.clients.each do |client, attributes|
  puts "Details for client with MAC address #{client}:"
  attributes.each do |name, details|
    puts "#{name}:   #{details}"
  end
  puts "--\n"
end

Requirements

  • SNMPwalk
  • Possibly the Airport MIB (see below)

Installing the Airport MIB

cd /usr/share/snmp/mibs
sudo curl -L -O http://supportdownload.apple.com/download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/Mac_OS_X/downloads/061-0652.20030619.5ibjt/airport-extreme.mib
cd ~