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-btrfs-textcollector.timer.j2
Jelle van der Waa 8ea35153b6
Add a btrfs prometheus exporter
Collect prometheus btrfs errors from the btrfs command from btrfs-progs
which since 5.10 supports json output for device stats. The collected
errors will in the future trigger an alert when the errors reach a
certain treshold.
2021-01-26 23:01:28 +01:00

11 lines
167 B
Django/Jinja

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