Skip to content

datenkollektiv-net/borg-exporter

 
 

Repository files navigation

borg-exporter Build Status

Dashboard

A Prometheus exporter for Borg backups.

It provides the following metrics:

Name Description Type
borg_backups_total Total number of Borg backups Gauge
borg_last_backup_timestamp Timestamp of the last backup Gauge

Installation

Borg exporter runs as a Python binary managed by Systemd. It provides a command to bootstrap into a simple systemd service.

To install the binary from Github:

curl -L https://github.com/danihodovic/borg-exporter/releases/download/latest/borg-exporter -o ./borg-exporter
chmod +x borg-exporter
sudo mv ./borg-exporter /usr/local/bin/
sudo borg-exporter enable-systemd

Alerting rules

Alerting rules can be found here. By default Prometheus sends an alert if a backup hasn't been issued in 24h5m.

Grafana Dashboard

You can find the generated Grafana dashboard here and it can be imported directly into the Grafana UI.

It's also available in Grafana's Dashboard Library.

About

Prometheus exporter for Borg backups.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 65.9%
  • Jsonnet 28.0%
  • Makefile 6.1%