# README
bareos_exporter
Prometheus exporter for bareos data recovery system
Dockerfile
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 --network host --name bareos_exporter_PostgreSQL -v /bareos_exporter/pw/auth:/bareos_exporter_PostgreSQL/pw/auth -d carlespla/bareos_exporter_PostgreSQL:latest
Metrics
- 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
Flags
Name | Description | Default |
---|---|---|
port | Bareos exporter port | 9625 |
endpoint | Bareos exporter endpoint. | "/metrics" |
u | Username used to access Bareos PostgreSQL Database | "root" |
p | Path to file containing your PostgreSQL password. Written inside a file to prevent from leaking. | "./auth" |
h | PostgreSQL instance hostname. | "127.0.0.1" |
P | PostgreSQL instance port. | "5432" |
db | PostgreSQL database name. | "bareos" |
# Packages
No description provided by the author