项目作者: dreyau

项目描述 :
Prometheus exporter for bareos data recovery system
高级语言: Go
项目地址: git://github.com/dreyau/bareos_exporter.git
创建时间: 2019-07-26T10:09:18Z
项目社区:https://github.com/dreyau/bareos_exporter

开源协议:MIT License

下载


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
    1. 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”