Send backup status via exporter to Prometheus

This commit is contained in:
phil 2023-12-02 09:18:19 +01:00
parent 2a6b2273a2
commit be1cf37ca3
6 changed files with 137 additions and 0 deletions

View file

@ -0,0 +1,7 @@
[Unit]
Description=Prometheus Borg Exporter
After=network-online.target
[Service]
ExecStart=/usr/local/bin/borg_exporter
Type=oneshot

View file

@ -0,0 +1,8 @@
[Unit]
Description=Prometheus Borg Exporter Timer
[Timer]
OnCalendar=*:0/30
[Install]
WantedBy=timers.target