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

Unable to view details in grafana #102

Open
pvikas opened this issue Jun 26, 2018 · 1 comment
Open

Unable to view details in grafana #102

pvikas opened this issue Jun 26, 2018 · 1 comment

Comments

@pvikas
Copy link

pvikas commented Jun 26, 2018

Hi,

I am able to get the exporter running with the following command

./mongodb_exporter-linux-amd64 -mongodb.uri "mongodb://mongodb_exporter:s3cr3tpassw0rd@localhost:27017/" -groups.enabled="asserts,durability,background_flushing,connections,global_lock,index_counters,network,memory,locks,metrics" -mongodb.collect.replset=false -mongodb.collect.oplog=false

But every time I hit the metrics URL 'http://testmongo:9001/metrics' with grafana I get

<title>MongoDB Exporter</title>

MongoDB Exporter

Metrics

Though a cURL to http://testmongo:9001/metrics works fine.

Even tried setting up nginx and redirecting calls from http://testmongo:80/ to http://testmongo:9001/metric but still the same.

Am I missing something? I understand that this might be a grafana issue, but I face this only when running this exporter and not while monitoring other items exposed via GKE.

Thanks in advance for the help/suggestions.

Regards,
Vikas

@srini3463
Copy link

@pvikas Can you please explain the installation steps. I am trying to setup on Linux machine which has no internet connectivity.

Thanks

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

2 participants