diff --git a/README.md b/README.md index 61a3e72..bc1c811 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,16 @@ # Load smartmontools attrlog files to PostgreSQL For luls and pretty Grafana graphs + +# Setup + + python3 -m venv venv + source venv/bin/activate + pip install -r requirements.txt + +# Create tables + + ./attrlogimport.py + +# Importing data + + find /var/lib/smartmontools -name 'attrlog.*' | xargs -n1 -P8 ./attrlogimport.py