Prometheus exporter for bareos data recovery system
Usage with docker
- Create a file containing your mysql password and mount it inside
/bareos_exporter/pw/auth
- (optional) Overwrite default args using ENV variables
- Run docker image as follows
docker run --name bareos_exporter -p 9625:9625 -v /your/password/file:/bareos_exporter/pw/auth -d dreyau/bareos_exporter:latest
- Total amout of bytes and files saved
- Latest executed job metrics (level, errors, execution time, bytes and files saved)
- Latest full job (level = F) metrics
- Amount of scheduled jobs
Name | Description | Default |
---|---|---|
port | Bareos exporter port | 9625 |
endpoint | Bareos exporter endpoint. | "/metrics" |
u | Username used to access Bareos MySQL Database | "root" |
p | Path to file containing your MySQL password. Written inside a file to prevent from leaking. | "./auth" |
h | MySQL instance hostname. | "127.0.0.1" |
P | MySQL instance port. | "3306" |
db | MySQL database name. | "bareos" |