metricbeat Mongo secondary node "no reachable servers" error

For confirmed bugs, please report:

  • Version: 5.4.1
  • Operating System: linux
  • Steps to Reproduce:

    metricbeat config:

  • module: mongodb
  • metricsets: ["status"]
  • enabled: true
  • period: 10s

  • hosts: ["mongodb://user:password@host-secondary-1:27017"]

  • Mongo CLuster Config - Mongo is made up of a replica of 3 nodes. host-primary is master. host-secondary-[1/2] are two slave

    How to reporduce?

  • set up mongo cluster as above
  • start metricbeat with above mongobeat config
  • you will get "no reachable servers" error
  • 链接地址: http://www.djcxy.com/p/61658.html

    上一篇: 在RECOVERY中恢复MongoDB配置副本集

    下一篇: metricbeat Mongo辅助节点“无法访问服务器”错误