percona / mongodb_exporter

A Prometheus exporter for MongoDB including sharding, replication and storage engines
Apache License 2.0
1.19k stars 424 forks source link

Cannot connect to server using url mongodb://****:****@127.0.0.1:27017: no reachable servers source="connection.go:86" #717

Closed bmurrellbc closed 1 year ago

bmurrellbc commented 1 year ago

Describe the bug I can't connect mongo_exporter to the database. I've created a username that I can connect via Compass with when using the same URI.

Environment

bmurrellbc commented 1 year ago

Looks like an old version was installed. Now working.