1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/prometheus_exporters/templates/prometheus-smart-textcollector.timer.j2
Jelle van der Waa bf5a165303
Add smart monitoring using a textcollector
Collects the smart data using smartctl and outputs them in the
textcollector dir. This expects smartd to be configured to regularly
self tests on a regular interval to detect if a disk is broken.
2022-01-04 21:25:41 +01:00

11 lines
167 B
Django/Jinja

[Unit]
Description=Prometheus Smart Exporter TextCollector Timer
[Timer]
OnUnitActiveSec=1h
OnBootSec=15min
RandomizedDelaySec=1min
[Install]
WantedBy=timers.target