Forge Home

bareos_exporter

Install Bareos Prometheus Exporter

660 downloads

170 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.1.1 (latest)
  • 1.0.0
  • 0.0.1
released May 4th 2023
This version is compatible with:
  • Puppet Enterprise 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x
  • Puppet >= 6.21.0 < 8.0.0
  • ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'roock-bareos_exporter', '1.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add roock-bareos_exporter
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install roock-bareos_exporter --version 1.1.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

roock/bareos_exporter — version 1.1.1 May 4th 2023

bareos exporter

This will install the Bareos Prometheus Exporter.

Inspired by Puppet Postgresql Exporter

Table of Contents

Description

Briefly tell users why they might want to use your module. Explain what your module does and what kind of problems users can solve with it.

This should be a fairly short description helps the user decide if your module is what they want.

Setup

Setup Requirements

The module depends on the following puppet modules:

Beginning with exporter

The most basic example is:

include bareos_exporter

The module will assume that it will run as user postgres (which needs to already exist) and will connect to the database bareos on local host. You can tweak the database connection settings with the dsn and dbtype param as well as you can specify the user the daemon shoould run and if the user/group should get create.

Usage

A more complete example:

class { '::bareos_exporter':
  manage_user           => true,
  manage_group          => true,
  bareos_exporter_user  => 'bareos',
  bareos_exporter_group => 'bareos',
  datasource            => 'user=bareos host=/var/run/postgresql/ sslmode=disable',
  dbtype                => 'pgx',
}

Reference

see REFERENCE.md

Limitations

Tested with Debian 10 and 11, but should be fine on any Linux that uses Systemd.