Verified Commit 9f9378b2 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Adjust prometheus textcollector condition

Currently our textcollector can sometimes fail with 'Failed to
create/acquire the lock /home/backup/$server/lock.exclusive (timeout)."
Instead of checking on a borg lock file, check if our backup snapshot
dir exists which the backup script creates and removes. This should give
less false positives then our current method.
parent ddba82db
Description=Prometheus Borg Exporter TextCollector
# If the backup snapshot path exists, the backup script runs and a borg
# lockfile exists and we can't run borg list
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment