Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the getMongoReport script #92

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Adding the getMongoReport script #92

wants to merge 10 commits into from

Conversation

svivesmdb
Copy link

This script retrieves information from a MongoDB deployment as getMongoData does but not include any sensible data such as the authentication details or sample documents so that it can be shared much more easily with customers.
Additionally a hard limit has been included to avoid the script evaluating too many collections which would cause running out of file descriptors.

section = "data_info";
var dbs = printInfo('List of databases', function(){return db.getMongo().getDBs()}, section);

if (dbs.databases) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation somehow got messed up here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants