https://github.com/otwieracz/backuppc_exporter
backuppc_exporter is a Prometheus metrics exporter for BackupPC, the popular open-source backup suite. Written in Go, it reads BackupPC’s configuration and data directories to expose two key metrics: the age of the most recent backup for each host (in seconds) and the overall pool disk usage (as a ratio from 0 to 1). These metrics make it straightforward to set up alerts for stale backups or a filling storage pool.
The exporter runs as a system service alongside the BackupPC server and requires the backuppc user’s permissions to access the CGI interface. It ships with init scripts for systemd, upstart, and FreeBSD rc.d, covering a wide range of server environments. The configurable refresh interval (defaulting to 60 seconds) controls how often it re-reads BackupPC state.
By turning backup health into standard Prometheus gauges, backuppc_exporter fits naturally into existing monitoring and alerting pipelines. A typical setup would pair it with alert rules that fire when any host’s last backup exceeds an age threshold or when pool usage approaches capacity.