Zum Inhalt springen

OpenWrt DFS/Ereignisstatistik: Unterschied zwischen den Versionen

Aus Opennet
Inhalt gelöscht Inhalt hinzugefügt
Struktur korrigiert
MathiasMahnke (Diskussion | Beiträge)
 
(7 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt)
Zeile 1: Zeile 1:
== Monitoring ==
== Monitoring ==
Im aktuellen Entwicklungszweig der Firmware (siehe [https://dev.opennet-initiative.de/browser/on_firmware/ git-Repository]) kann das von uns entwickelte munin-Plugin für das ath9k-Modul auch DFS-Ereignisse erfassen.
Im aktuellen Entwicklungszweig der Firmware (siehe [https://github.com/opennet-initiative/firmware git-Repository]) kann das von uns entwickelte munin-Plugin für das ath9k-Modul auch DFS-Ereignisse erfassen.


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

=== Hinweise ===
Die in der obigen Tabelle erwähnten ''Userspace-Outdoor-Kanalwechsel'' beziehen sich auf ein manuell anwendbares [[Opennet Firmware für Fortgeschrittene#Workarounds_für_bekannte_Probleme_anwenden|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.

Aktuelle Version vom 14. Mai 2025, 05:38 Uhr

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.