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 --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" Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files collector.go main.go Directories ¶ Show internal Expand all Path Synopsis dataaccess error types Click to show internal directories. Click to hide internal directories.