Created
March 11, 2017 02:21
-
-
Save fipar/8777e376e1f8bdc17944ab2029fa7779 to your computer and use it in GitHub Desktop.
unknown flag in pmm-admin add mongodb when attempting to use example from the manual
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@mongodb-server:~$ sudo pmm-admin add mongodb --replset repl1 --cluster cluster1 --nodetype mongod | |
Error: unknown flag: --replset | |
Usage: | |
pmm-admin add mongodb [name] [flags] | |
Examples: | |
pmm-admin add mongodb | |
pmm-admin add mongodb --cluster bare-metal | |
Flags: | |
--cluster string cluster name | |
--uri string MongoDB URI, format: [mongodb://][user:pass@]host[:port][/database][?options] (default "localhost:27017") | |
Global Flags: | |
-c, --config-file string PMM config file (default "/usr/local/percona/pmm-client/pmm.yml") | |
--service-port uint16 service port | |
unknown flag: --replset | |
vagrant@mongodb-server:~$ sudo pmm-admin --version | |
1.1.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment