]> arthur.barton.de Git - netdata.git/blob - README.md
fixes
[netdata.git] / README.md
1 netdata
2 =======
3
4 linux network traffic web monitoring
5
6
7 # Installation
8
9 ### download everything in a directory inside your web docs.
10 You don't need apache. Any web server able to provide static files will do the job fine.
11
12 ### Compile netdata
13 step into the directory you downloaded everything and compile netdata
14
15 ```sh
16 gcc -O3 -o netdata netdata.c
17 ```
18
19 ### run netdata
20 Run netdata and instruct it to create json files in the current directory.
21
22 ```sh
23 ./netdata -d -l 60 -u 1 -o `pwd`
24 ```
25  - -d says to go daemon mode
26  - -l 60 says to show 60 seconds of history
27  - -u 1 says to create json files every second
28  - -o sets the save path for the json files
29
30 You should now have one .json file per interface you have active, in the current directory.
31 All these files are updated once per second.
32
33 ### edit index.html
34 Set in index.html the interfaces you would like to monitor on the web page.
35
36 ### hit index.html from a web browser
37 Enjoy real time monitor web graphs for your interfaces.
38