Skip to content

dreyau/bareos_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bareos_exporter

Go Report Card

Prometheus exporter for bareos data recovery system

Usage with docker

  1. Create a file containing your mysql password and mount it inside /bareos_exporter/pw/auth
  2. (optional) Overwrite default args using ENV variables
  3. 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

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 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"

About

Prometheus exporter for bareos data recovery system

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published