Giter VIP home page Giter VIP logo

Comments (5)

jon-king-mindbodyonline avatar jon-king-mindbodyonline commented on July 22, 2024 1

@kfalconer You can manually list out all the cluster nodes in the mongo-config.yml that you drop in /etc/newrelic-infra/integrations.d. Ex:

integration_name: com.newrelic.mongodb

instances:
  - name: mongo-cluster-01-shard-00-00
    command: all
    arguments:
      host: mongo-cluster-01-shard-00-00-aa77zz.gcp.mongodb.net
      cluster_name: mongo-cluster-01
      port: 27017
      username: ##
      password: ##
      auth_source: admin
      ssl: true
      ssl_insecure_skip_verify: true
  - name: mongo-cluster-01-shard-00-01
    command: all
    arguments:
      host: mongo-cluster-01-shard-00-01-aa77zz.gcp.mongodb.net
      cluster_name: mongo-cluster-01
      port: 27017
      username: ##
      password: ##
      auth_source: admin
      ssl: true
      ssl_insecure_skip_verify: true
...

from nri-mongodb.

camdencheek avatar camdencheek commented on July 22, 2024

Thanks for the request. It doesn't look like the official MongoDB driver is quite a drop in replacement, so it could be a fair bit of work to swap it out and verify that everything still works as expected. It's something that would be a possibility though. I'm not sure I'll have time to try this out anytime soon, but I'd be happy to review and test any PRs.

from nri-mongodb.

kfalconer avatar kfalconer commented on July 22, 2024

Similar to above, it is possible to specify multiple hosts? We are using Mongo Atlas and cant install NRI plugin on the host, but want to monitor from a different system. The host parameter seems to only accept one host name.

from nri-mongodb.

kfalconer avatar kfalconer commented on July 22, 2024

@jon-king-mindbodyonline Thanks that worked perfectly.

from nri-mongodb.

davidbrota avatar davidbrota commented on July 22, 2024

Hello @jon-king-mindbodyonline,

The globalsign/mbo driver still hasn't added support for mongodb+srv:// seedlists. As we don't plan to switch libraries, we're going to close the issue. However, as soon as globalsign/mbo driver implements that functionality, we'll be happy to review any PR implementing it.

I'm sorry that we can't do much else at this time.

from nri-mongodb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.