Helps you monitor your Airport Extreme traffic.
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
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
- SNMPwalk
- Possibly the Airport MIB (see below)
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 ~