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-hetzner-textcollector.timer.j2
Evangelos Foutras c844d0cb6c
Split storage box monitoring into new text collector
This was previously monitored as part of the borg text collector, but
now that it only runs after each backup (instead of hourly) the stats
from monitoring.archlinux.org do not remain accurate for long. Switch
back to hourly checks of the storage box's disk usage by adding a new
text collector just for this purpose.
2021-07-19 01:11:30 +03:00

11 lines
169 B
Django/Jinja

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