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

mongodb_exporter - extracts archive to wrong directory #366

Open
rmalenko opened this issue Sep 12, 2019 · 3 comments
Open

mongodb_exporter - extracts archive to wrong directory #366

rmalenko opened this issue Sep 12, 2019 · 3 comments

Comments

@rmalenko
Copy link

Extracted to /opt instead /opt/mongodb_exporter-0.9.0.linux-amd64/mongodb_exporter
this means the symlink /usr/local/bin/mongodb_exporter is broken

 class { 'prometheus::mongodb_exporter':
    version            => '0.9.0',
    cnf_uri            => 'mongodb://localhost:27018',
    use_kingpin  => true,
  }
@alexjfisher
Copy link
Member

Looks like from 0.7.0 onwards, the binary tarball releases no longer have a top level directory. There are a few other exporters like this too. See

if $install_method == 'url' {

@Jellevandewege
Copy link

Hi im running into the same issue with the mongodb exporter version 0.20.3. It is possible to merge the same fix for the postgres_exporter.pp into the mongodb_exporter.pp? Or has this issue already been resolved in another way?

@TheMeier
Copy link
Contributor

TheMeier commented May 5, 2024

Is this fixed?

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

No branches or pull requests

4 participants