Comments (5)
@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.
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.
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.
@jon-king-mindbodyonline Thanks that worked perfectly.
from nri-mongodb.
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)
- [Repolinter] Open Source Policy Issues HOT 1
- Dependency Dashboard
- Default Dashboard Issue HOT 3
- [Repolinter] Open Source Policy Issues
- bump integration sdk and switch to go modules
- Add semgrep and infra-checkers Github Actions
- Map entities in backend service HOT 1
- Add support for SCRAM-SHA-256 authentication HOT 12
- MongoDB Atlas HOT 5
- Move to the official mongodb client HOT 2
- Support multiple instance scrape in the same cluster
- Need support for DNS seed method and SRV record in connection string for private Atlas endpoint. HOT 2
- Can't connect to Mongodb 5.x HOT 13
- Fail to connect to Mongos on Sharded cluster in K8s HOT 2
- Authentication Failure with Scram and MongoDB 4.2.6 HOT 1
- Update documentation to point that mem.residentInBytes and mem.virtual are in MiB not Bytes. HOT 1
- New release to include last supported Linux versions
- Add Flag to Disable MongoTopSample HOT 7
- Can we use this repo to config Mongo atlas integrate with New Relic HOT 4
- [Repolinter] Open Source Policy Issues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nri-mongodb.