You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
test | 1 year ago | |
.gitignore | 1 year ago | |
README.md | 1 year ago | |
attrlogimport.py | 1 year ago | |
requirements.txt | 1 year ago |
README.md
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