I’ve spent the last week or so playing with Cacti (after telling myself to do so for quite some time), and one of the goals was to get real graphing of data on my Airport Extreme (Dual-Band, A1301, March 2009). The issue is, there is very little information online as to SNMP mappings on this base station. What interface is the WAN, which are the wireless, etc. After some trial and error (and help of iEyeNet) I have figured that information out.
The following interfaces are in SNMP, and their corresponding real life equivalents.
SNMP | Interface | Notes |
---|---|---|
gec0 | Switch | Switch as a whole. I think only LAN ports, excluding WAN |
ath0 | 802.11 5ghz | 5ghz Wireless Interface |
ath1 | 802.11 2.4ghz | 2.4ghz Wireless Interface |
lo0 | Loopback | Loopback adapter. Should show ALL traffic |
wlan0 | 802.11 5ghz | 5ghz Wireless Interface. Again. |
wlan1 | 802.11 2.4ghz | 2.4ghz Wireless Interface. Again. |
vlan1 | WAN | WAN port, assuming NAT is enabled |
bridge0 | eth-wlan bridge | Wireless to Ethernet Bridge |
stf0 | Six-to-Four bridge | Bridges IPv6 to IPv4 |
Now some of these may change if you turn off NAT, or don’t have 2.4ghz or 5ghz wireless enabled. But this should allow you to see WAN traffic, wireless traffic, and LAN traffic. The big question I’m not sure about is if “gec0” does or does not include the WAN traffic.
Good luck!
Paul says
gec = gigabit etherchannel? Not sure if they borrowed this from Cisco but their GEC interface is a bundled 4 x 1 Gbit. But it could be part of NetBSD which is what I heard the Time Capsule’s image is based on.
snmptable ifTable | grep up | awk ‘{ print $2, $5 }’
gec0 1000000000
mv0 300000000
lo0 0
vlan0 1000000000
pppoe0 0
bridge0 0
gif0 0
stf0 0
wlan0 300000000
mv is my wireless interface, where you have ath. I have an ipv6 tunnel but I don’t think the stf interface uses it: it shows as down in cacti but up in snmp. gec does seem to include more than just the link (mine is a measly 5 mbits but cacti graphs more than that). Perhaps it is the sum of the ethernet ports, WAN and LAN.
Mine is a first generation time capsule so it doesn’t have some of the newer features. They’re pretty opaque little devices…
staze says
Paul,
Ah, cool. Good info. =)
And yeah, the comment thing… guess “comment timeout” plugin was conflicting with the built-in comment timeout system without WP. Or maybe just genesis. Anyway, disabling the plugin fixed the weird showing, yet closed, issue. Thanks for the heads up on that. =)
And yes, VERY opaque. Kinda wish Apple would release some of this crap. Why support SNMP, and NOT release MIBs? The latest ones they’ve released are from the old UFO style.
Thanks again for the info. =)