updates
Costa Tsaousis committed
Jun 17, 2013 at 22:25 UTC
c564e87af57b0d0e97cd4e5332ff4adffbc7eaad
1 file changed
+18
README.md
+18
@@ -3,6 +3,24 @@ netdata
3
4
linux network traffic web monitoring
5
6
+This little program will allow you to create embedable live monitoring charts on any web page.
7
+
8
+# How it works
9
+
10
+1. You run a daemon on your linux: netdata.
11
+This deamon is written in C and is extremely lightweight.
12
+What it does is that it reads /proc/net/dev and for every interface present there, it creates a JSON data file.
13
+This JSON file contains all the data needed for the web graphs.
14
+
15
+Since these files are created too often (e.g. once per second) it is adviced to put them on tmpfs.
16
+The files have a fixed length, around just 4k for 60 seconds of graphs.
17
+
18
+2. On your web page, you add a few javascript lines and a DIV for every graph you need.
19
+Your browser will hit the web server to fetch the JSON data and refresh the graphs.
20
+
21
+3. Graphs are generated using Google Charts API - they are pretty eye candy!
22
+
23
+
24
25
# Installation
26