Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blackbox_exporter should validate config if version >= 0.13.0 #322

Open
mapa3m opened this issue Jun 3, 2019 · 1 comment
Open

blackbox_exporter should validate config if version >= 0.13.0 #322

mapa3m opened this issue Jun 3, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@mapa3m
Copy link

mapa3m commented Jun 3, 2019

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 4.10.12
  • Ruby: 2.0.0p648
  • Distribution: CentOS 7.6
  • Module version: 6.4.0

How to reproduce (e.g Puppet code you use)

class { 'prometheus::blackbox_exporter':
    version => '0.14.0',
    modules => {
      'http_2xx' => {
        'prober' => 'http',
        'foo' => 'bar',
        'http'   => {}
      }
    }
  }

What are you seeing

Config file is generated, copied over /etc/blackbox-exporter.yaml and, and blackbox_exporter dies on restart

What behaviour did you expect instead

Validation error

Output log

Any additional information you'd like to impart

Config validation functionality is available in blackbox_exporter version 0.13.0 and up.

@TheMeier TheMeier added the enhancement New feature or request label May 5, 2024
@TheMeier
Copy link
Contributor

TheMeier commented May 5, 2024

@mapa3m care to provide a merge request for that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants