1
0
2021-11-07 20:38:57 +02:00
2021-11-06 20:02:09 +02:00
2021-11-07 20:41:02 +02:00
2021-11-06 23:51:58 +02:00

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
Description
Load smartmontools attrlog files to PostgreSQL
Readme 34 KiB
Languages
Python 100%