Categorygithub.com/carlespla/bareos_exporter_postgresql
modulepackage
0.0.0-20240618151056-f300bf5c755e
Repository: https://github.com/carlespla/bareos_exporter_postgresql.git
Documentation: pkg.go.dev

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

NameDescriptionDefault
portBareos exporter port9625
endpointBareos exporter endpoint."/metrics"
uUsername used to access Bareos PostgreSQL Database"root"
pPath to file containing your PostgreSQL password. Written inside a file to prevent from leaking."./auth"
hPostgreSQL instance hostname."127.0.0.1"
PPostgreSQL instance port."5432"
dbPostgreSQL database name."bareos"

# Packages

No description provided by the author