bareos_exporter

command module
v0.0.0-...-d9654f6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2019 License: MIT Imports: 10 Imported by: 0

README

bareos_exporter

Go Report Card

Prometheus exporter for bareos data recovery system

Dockerfile

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"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL