download from releases page and get it running as windows-service via nssm
nssm.exe install "altaro_backup_exporter" "C:\prometheus\altaro_backup_exporter\altaro_backup_exporter.exe"
change the settings in config.json to your needs
The default exporter-port is 9769.
All metrics have this labels:
hostname,vmname,vmuuid
metrics:
altaro_lastoffsitecopy_result
altaro_lastbackup_result
altaro_lastoffsitecopy_transfersize_uncompressed_bytes
altaro_lastoffsitecopy_transfersize_compressed_bytes
altaro_lastbackup_transfersize_uncompressed_bytes
altaro_lastbackup_transfersize_compressed_bytes
altaro_lastoffsitecopy_duration_seconds
altaro_lastbackup_duration_seconds
altaro_lastoffsitecopy_timestamp
altaro_lastbackup_timestamp
- alert: Last Backup not successful
expr: altaro_lastbackup_result{altaro_lastbackup_result="Success"} != 1
for: 1m
- alert: Last OffSite Copy not successful
expr: altaro_lastoffsitecopy_result{altaro_lastoffsitecopy_result="Success"} != 1
for: 1m
- alert: Last Backup older than 30 hours
expr: time() < 3600 * 30 - altaro_lastbackup_timestamp
for: 1m
- alert: Last OffSite Copy older than 30 hours
expr: time() < 3600 * 30 - altaro_lastoffsitecopy_timestamp
for: 1m
MIT // 2020 - Raphael Pertl