1
0
Fork 0

Add more instructions to README

This commit is contained in:
Arti Zirk 2021-11-07 20:41:02 +02:00
parent 0d48dc3a31
commit 770d13a77a
1 changed files with 14 additions and 0 deletions

View File

@ -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