Zum Inhalt springen

OpenWrt DFS/Ereignisstatistik

Aus Opennet

Monitoring

Im aktuellen Entwicklungszweig der Firmware (siehe git-Repository) kann das von uns entwickelte munin-Plugin für das ath9k-Modul auch DFS-Ereignisse erfassen.

Aktivierung des Plugins

  1. Monitoring aktivieren
  2. Plugin übertragen:
    scp opennet/packages/on-monitoring/files/usr/share/munin-plugins-available/ath9k_ root@192.168.x.y:/usr/sbin/munin-node-plugin.d/ath9k_dfs_events
  3. falls die munin-Daten des APs noch nicht eingesammelt werden, dann muss die Datensammlung auf einem munin-Server aktiviert werden
  4. füge den AP in der untenstehenden Tabelle (DFS-Ereignisübersicht) hinzu

Visualisierung der Ereignisse

Die Visualisierung der Daten erfolgt auf dem Datensammler-Server (siehe Opennet munin). Die Visualisierung von howmei ist unter http://howmei.on/munin/ erreichbar.

Messstationen / Beispiel-APs

AP Tagesereignisse Kanelverwendung Standort / Besonderheiten
<OnApStatus>1.11</OnApStatus> http://howmei.on/munin-cgi/munin-cgi-graph/ap/AP1.11/ath9k_stats_phy0_dfs_events-day.png http://howmei.on/munin-cgi/munin-cgi-graph/ap/AP1.11/wireless_channel_active_phy0-day.png Ulmenstraße
Linux 3.10
Userspace-Outdoor-Kanalwechsel: 15 Minuten
<OnApStatus>1.17</OnApStatus> http://howmei.on/munin-cgi/munin-cgi-graph/ap/AP1.17/ath9k_stats_phy0_dfs_events-day.png http://howmei.on/munin-cgi/munin-cgi-graph/ap/AP1.17/wireless_channel_active_phy0-day.png Sievershagen
Hausdach
Ein-Geräte-Installation
Linux 3.18
Userspace-Outdoor-Kanalwechsel: stündlich
<OnApStatus>1.117</OnApStatus> http://howmei.on/munin-cgi/munin-cgi-graph/ap/AP1.117/ath9k_stats_phy0_dfs_events-day.png http://howmei.on/munin-cgi/munin-cgi-graph/ap/AP1.117/wireless_channel_active_phy0-day.png Z10
Linux 3.10
Userspace-Outdoor-Kanalwechsel: nein
<OnApStatus>2.71</OnApStatus> http://howmei.on/munin-cgi/munin-cgi-graph/ap/AP2.71/ath9k_stats_phy0_dfs_events-day.png http://howmei.on/munin-cgi/munin-cgi-graph/ap/AP2.71/wireless_channel_active_phy0-day.png Vögenteich (2. OG, Richtung Osten)
Ein-Geräte-Installation
Linux 3.18
Userspace-Outdoor-Kanalwechsel: 15 Minuten
<OnApStatus>2.76</OnApStatus> http://howmei.on/munin-cgi/munin-cgi-graph/ap/AP2.76/ath9k_stats_phy0_dfs_events-day.png http://howmei.on/munin-cgi/munin-cgi-graph/ap/AP2.76/wireless_channel_active_phy0-day.png Ludwigstraße / Goetheplatz
NS M5 loco
Ein-Geräte-Installation
Linux 3.18
Userspace-Outdoor-Kanalwechsel: 15 Minuten
<OnApStatus>2.110</OnApStatus> http://howmei.on/munin-cgi/munin-cgi-graph/ap/AP2.110/ath9k_stats_phy0_dfs_events-day.png http://howmei.on/munin-cgi/munin-cgi-graph/ap/AP2.110/wireless_channel_active_phy0-day.png Heilig Geist Kirche
Linux 3.10
Userspace-Outdoor-Kanalwechsel: nein
<OnApStatus>2.113</OnApStatus> http://howmei.on/munin-cgi/munin-cgi-graph/ap/AP2.113/ath9k_stats_phy0_dfs_events-day.png http://howmei.on/munin-cgi/munin-cgi-graph/ap/AP2.113/wireless_channel_active_phy0-day.png Heilig Geist Kirche
Linux 3.10
Userspace-Outdoor-Kanalwechsel: nein
<OnApStatus>2.114</OnApStatus> http://howmei.on/munin-cgi/munin-cgi-graph/ap/AP2.114/ath9k_stats_phy0_dfs_events-day.png http://howmei.on/munin-cgi/munin-cgi-graph/ap/AP2.114/wireless_channel_active_phy0-day.png Heilig Geist Kirche
Linux 3.10
Userspace-Outdoor-Kanalwechsel: nein
<OnApStatus>2.175</OnApStatus> http://howmei.on/munin-cgi/munin-cgi-graph/ap/AP2.175/ath9k_stats_phy0_dfs_events-day.png http://howmei.on/munin-cgi/munin-cgi-graph/ap/AP2.175/wireless_channel_active_phy0-day.png Z10
Linux 3.18
Userspace-Outdoor-Kanalwechsel: 3 Stunden

Hinweise

Die in der obigen Tabelle erwähnten Userspace-Outdoor-Kanalwechsel beziehen sich auf ein manuell anwendbares workaround-Skript on_workaround_outdoor_channel_switch. Dieses Skript sorgt via cron in regelmäßigen Abständen für den Wechsel auf einen outdoor-Kanal, falls der AP aktuell als Master konfiguriert ist und auf einem indoor-Kanal sendet. Die unterschiedlich konfigurierte Häufigkeit des Kanalwechsels hängt von der Relevanz des APs innerhalb des Mesh ab: Infrastruktur-APs an zentralen Standorten sollten seltener einer wifi-Neukonfiguration unterzogen werden, als wenig genutzte Zwischenstationen.