percona / mongodb_exporter

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

ERRO[0000] Cannot connect to MongoDB: cannot connect to MongoDB: server at localhost:27017 reports wire version 5, but this version of the Go driver requires at least 6 (MongoDB 3.6) #802

Closed tinyan-s closed 5 months ago

tinyan-s commented 6 months ago

Describe the bug A clear and concise description of what the bug is. If the issue relates to PMM, please open JIRA PMM issue instead of GH issue.

My Mongodb Version is 3.4.2, is support old mongo server version ?

To Reproduce Steps to reproduce the behavior:

  1. what parameters are being passed to mongodb_exporter
  2. describe steps to reproduce the issue

./mongodb_exporter --mongodb.uri=mongodb://localhost:27017

Expected behavior A clear and concise description of what you expected to happen.

Logs Please provide logs relevant to the issue

Environment

Additional context Add any other context about the problem here.

BupycHuk commented 5 months ago

Hi @tinyan-s, our mongodb_exporter supports only versions that's not EOLed yet. Mongo 3.4 EOL is January 2020, currently the oldest non-EOLed version is Mongo 5.