Puppet Class: prometheus::client::blackbox

Defined in:
manifests/client/blackbox.pp

Summary

Configure blackbox exporter

Overview

Parameters:

  • http_urls (Array[String]) (defaults to: [])

    sets the sites to check with the http blackbox probe



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'manifests/client/blackbox.pp', line 4

class prometheus::client::blackbox (
  Array[String] $http_urls = []
) {
  include prometheus

  file { '/etc/blackbox_http':
    ensure  => file,
    content => $http_urls.join("\n"),
  }

  -> Configvault_Write { 'prometheus/blackbox/http':
    source => '/etc/blackbox_http',
    public => true,
  }
}