Ops Tools
23 results found
-
Hi, in our environment (managed by OPS Manager) we have a lot of mongodb instances in the same server, would be useful having a function/met
Hi,
in our environment (managed by OPS Manager) we have a lot of mongodb instances in the same server, would be useful having a function/method/command to exec the shutdown/startup of all instances running in an specified server.
At the moment there is only a command to shutdown/startup at scope of cluster (ReplicaSet): https://www.mongodb.com/docs/mongocli/v1.18/command/mongocli-ops-manager-clusters-shutdown/
Thanks,
Danilo7 votes -
Allow create/delete/update custom database role in MongoDB CLI for Ops Manager
In Altas CLI, the command customDbRoles can be used for create/delete/update custom database role.
Would it implement in MongoDB CLI for Ops Manger?6 votes -
Encrypt private_api_key in a mongocli configuration file
I would like to encrypt the value of privateapikey stored in $HOME/.config/mongocli/config.toml (part of mongocli config).
privateapikey should be not visible in the open text as it gives access to the MongoOPS/Atlas to anyone who can access the file.
4 votes -
modify mongoDB DB user in ATLAS, OPS Manager , or Cloud Manager
It would be really nice if mongocli could be used to modify user accounts. Add new roles, or change the password. Currently mongocli can add, list , delete project DB user accounts. It would be nice for modify, since there is a need for password rotation, and mongocli see so fit that bill quite nicely.
This is for OPS Manager, but could be for OPS , Cloud or Atlas..
4 votes -
Add command for upgrade a cluster
Currently there is no easy way to upgrade a cluster but we need to modify the file describing the cluster and push the full description.
Would be nice to have a command like:mongocli om upgrade --version "4.2.10" --fcv "4.2" MyReplicaset
4 votes -
Allow to create custom roles
Allow to create custom roles for Atlas/CM/OM
4 votes -
Support TLS configuration
Add options to the config file for deploy clusters with TLS enabled.
4 votes -
allow mongocli read configs from stdin rather than from file
To deploy new cluster we need prepare config file and put there all sensitive data, like automation user password, ssl cert passwords etc.
Then we have to specify -f flag to point to this config during mongocli call.Currently this file has to persist somewhere on the disk during call to CLI which makes it insecure (and file has to be carefully removed after cli call finished, proper access to the file has to be set etc)
It would be safer to send this config to stdin of mongocli - as a pipe from another command which can generate the…
2 votes -
Ops Manager global actions (mongocli ops-manager admin)
Add cli commands in global scope of Ops Manager to allow for scripting actions on all projects (e.g. update all agents after an upgrade of Ops Manager):
- CRUD projects (prio on get projects to allow for looping over them)
- CRUD orgs
- CRUD users
- global config managemant
- global alert management2 votes -
enable x509 security command
mongocli ops-manager security enable [MONGODB-CR|SCRAM-SHA-256]
add an option for x509
2 votes -
Store the type of cloud in profile to shorten the CLI command
MongoCLI current requires the user to type on the command-line if it's an Ops Manager, Cloud Manager, or Atlas. We could store this information in the profile (the file containing the URL and API keys) so the users have less to type.
PS: This applies to all 3 categories - MongoDBCLI with Ops Manager, MongoDBCLI with Cloud Manager, and MongoDBCLI with Atlas - on feedback.mongodb.com and the UI forces me to select only one of them
2 votes -
mongoimport should explain why documents fail schema validation
Currently, with mongoimport 100.9 and MongoDB 7.0 with schema validation enabled, mongoimport will only report that a document failed to import due to schema validation. It would be useful if it could explain why it violates the schema (e.g. which fields are missing, which datatypes are incorrect, etc.). This is similar to the feature request for MongoDB Compass2
1 vote -
add clusterId to json output of "cluster list", "cluster describe" commands
currently there is no straightforward way to get clusterId using mongocli. we can get clusterId if we use text format with "cluster list", but not with json.
and with json format we have to use "process list" command, filter out only one process amongst multiple within cluster and filter out clusterId.
it would be useful to add clusterId field into json when we get cluster description from list/describe commands also.
1 vote -
add text option to --output modifier
currently there is no way to format output of command in text format. the only option is to set this format as default in config file and not use --output modifier in specific command. if you rare use text output, you will have to insert --output json in every other commands.
1 vote -
MONGOCLI add command to shutdown and startup the standalone instance
in this moment there is no way to shutdown or startup a standalone instance because the mongocli works with cluster only
1 vote -
mongocli - changing server type
There is a missing option to change server type via mongocli. You can list the server type for the project, but not change it.
available option for list:
mongocli om serverUsage projects hosts list --endDate 2020-01-01 --startDate 2021-01-011 vote -
Add command for suspending automation
Add command for suspending automation (similar to what we have for unmanage)
1 vote -
Virus threat in MongoDB CLI
I am facing an issue when downloading MongoDB CLI on my win10 computer. The Windows virus scanner says there is a "Trojan:Win32/Caynamer.A!ml" in the file I am trying to download and ends the download. Is this threat real?
1 vote -
The "Get All Network Peering Containers in One Project" endpoint should repo all endpoints regardless of the Public Cloud provider.
In order to get back the peering list, one has to pass the provider
shell
mongocli atlas networking peering list --provider GCP
This is odd because a) Atlas already knows and b) why not list all the peering regardless of the provider. We cannot specify filters in many cases already like, 'cluster list' and would have to use
jq
to filter. We can do the same here is folks really want to filter. In other words, in general, please stick to one design maxium, provide all items in the 'list' or provide a way to filter, but not both.1 vote -
Set backup snapshots to never expire
The OpsManager API allows setting backup snapshot to never expire
(https://docs.opsmanager.mongodb.com/current/reference/api/snapshots/change-expiry-for-one-snapshot/) (Also for CloudManager - https://docs.cloudmanager.mongodb.com/reference/api/snapshots/change-expiry-for-one-snapshot/). Could this be exposed in mongocli?1 vote
- Don't see your idea?