add a readme

This commit is contained in:
ducoterra
2020-04-05 14:18:56 -04:00
parent bcaf5144fb
commit 3bee35b090

31
README.md Normal file
View File

@@ -0,0 +1,31 @@
# Collector
## Setup
Create a "collector.json" with the following format:
```json
{
"graphite": {
"server": "graphite.ducoterra.net",
"port": 2003
},
"os": "osx", //osx or linux
"data": {
"storage": [
{
"path": "/Users/ducoterra",
"name": "home"
}, // as many paths as you want
]
}
}
```
Make collect.py executable:
```bash
chmod +x collect.py
```
Schedule a cronjob to run collect.py at your preferred interval