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