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