This repository has been archived by the owner on Nov 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netmon.tex
76 lines (70 loc) · 2.46 KB
/
netmon.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
\section{Netmon}
%Ein spezieller Dienst im Freifunk Franken Netz ist das
%Network-Monitoring, kurz Netmon. Netmon selbst soll nicht Teil des
%Vortrags sein, wohl aber die Verbindung zwischen Netmon und den
%Knoten. Dazu zählt zum Beispiel das Handling der Hostnames und das
%Einsammeln der Statusdaten.
\begin{frame}{Netmon}
\begin{itemize}
\item Nodewatcher
\begin{itemize}
\item Generiert Status-Daten
\end{itemize}
\item Configurator
\begin{itemize}
\item Verknüpft Netmon und Knoten
\end{itemize}
\item Crawler
\begin{itemize}
\item Sammelt Status-Daten
\end{itemize}
\item Netmon
\begin{itemize}
\item Visualisiert Status-Daten
\end{itemize}
\end{itemize}
\end{frame}
\begin{frame}{Nodewatcher}
\begin{itemize}
\item Erzeugt XML Datei
\item Läuft alle 5 Minuten auf den Knoten
\item node.data über Webinterface downloadbar
\end{itemize}
\end{frame}
\begin{frame}{Configurator}
\begin{itemize}
\item Knoten kennt Netmon's Link-Local Adresse
\item Knoten meldet alle 5 Minuten seine MAC Adresse ans Netmon
\item Netmon meldet dabei zurück, dass der Knoten noch nicht eingetragen wurde
\item Benutzer ,,übernimmt'' Knoten im Netmon
\item (Benutzer gibt dem Knoten einen Namen)
\item Knoten meldet wieder seine MAC an Netmon
\item Netmon meldet router\_id, update\_hash und api\_key zurück
\item Knoten trägt seine Link-Local Adresse im Netmon ein
\item Netmon pollt einmal alle 10 Minuten nach Router-Daten
\item Knoten pollt alle 5 Minuten nach seinem Hostname
\end{itemize}
\end{frame}
\begin{frame}{Crawler}
\begin{block}{Pollt alle Router jeweils alle 10 Minuten}
\begin{itemize}
\item Jeweils 20 Knoten nacheinander
\item Ping (mit PsExecute für Timeout)
\begin{itemize}
\item Bohrt neigh Tabelle auf
\item Eliminiert initial Timeout
\end{itemize}
\item curl'ed node.data
\item Dekodiert xml
\item Füllt MySQL Tabellen
\end{itemize}
\end{block}
\end{frame}
\begin{frame}{Netmon}
\begin{itemize}
\item Wie sieht Netmon aus?
\begin{itemize}
\item[$\rightarrow$] \url{http://netmon.freifunk-franken.de}
\end{itemize}
\end{itemize}
\end{frame}