OS Manuals

/usr/bin/mongodb-healthcheck

mongodb-healthcheck binary for percona-server-mongodb-operator

From percona-server-mongodb-operator-mongodb-healthcheck 1.22.0-r18 (os), captured 2026-11-08 by running mongodb-healthcheck --help (exit 0). permalink

2026-11-08T02:51:16.162Z	INFO	Running mongodb-healthcheck	{"commit": "5856026fef8738c42ef6d69bc27e7122f8d55fd9", "branch": "release-1-22-0"}
usage: mongodb-healthcheck --username=USERNAME --password=PASSWORD [<flags>] <command> [<args> ...]

Performs health and readiness checks for MongoDB

Flags:
  --help                         Show context-sensitive help (also try --help-long and --help-man).
  --version                      Show application version.
  --address=localhost:27017 ...  mongodb server address (hostname:port), defaults to
                                 '$MONGODB_REPLSET:$MONGODB_PORT' if the env vars are available and
                                 SSL is used, if not the default is 'localhost:27017'
  --replset=REPLSET              mongodb replica set name, overridden by env var MONGODB_REPLSET
  --username=USERNAME            mongodb auth username, this flag or env var
                                 MONGODB_CLUSTER_MONITOR_USER is required
  --password=PASSWORD            mongodb auth password, this flag or env var
                                 MONGODB_CLUSTER_MONITOR_PASSWORD is required
  --ssl                          enable SSL secured mongodb connection, overridden by env var
                                 MONGODB_NET_SSL_ENABLED
  --sslPEMKeyFile=SSLPEMKEYFILE  path to client SSL Certificate file (including key, in PEM format),
                                 overridden by env var MONGODB_NET_SSL_PEM_KEY_FILE
  --sslCAFile=SSLCAFILE          path to SSL Certificate Authority file (in PEM format), overridden
                                 by env var MONGODB_NET_SSL_CA_FILE
  --sslInsecure                  skip validation of the SSL certificate and hostname, overridden by
                                 env var MONGODB_NET_SSL_INSECURE

Commands:
  help [<command>...]
    Show help.

  k8s liveness* [<flags>]
    Run a liveness check of MongoDB

  k8s readiness
    Run a readiness check of MongoDB
Options (10)
OptionDescriptionSource
--helpShow context-sensitive help (also try --help-long and --help-man).help
--versionShow application version.help
--address localhost:27017mongodb server address (hostname:port), defaults to '$MONGODB_REPLSET:$MONGODB_PORT' if the env vars are available and SSL is used, if not the default is 'localhost:27017'help
--replset REPLSETmongodb replica set name, overridden by env var MONGODB_REPLSEThelp
--username USERNAMEmongodb auth username, this flag or env var MONGODB_CLUSTER_MONITOR_USER is requiredhelp
--password PASSWORDmongodb auth password, this flag or env var MONGODB_CLUSTER_MONITOR_PASSWORD is requiredhelp
--sslenable SSL secured mongodb connection, overridden by env var MONGODB_NET_SSL_ENABLEDhelp
--sslPEMKeyFile SSLPEMKEYFILEpath to client SSL Certificate file (including key, in PEM format), overridden by env var MONGODB_NET_SSL_PEM_KEY_FILEhelp
--sslCAFile SSLCAFILEpath to SSL Certificate Authority file (in PEM format), overridden by env var MONGODB_NET_SSL_CA_FILEhelp
--sslInsecureskip validation of the SSL certificate and hostname, overridden by env var MONGODB_NET_SSL_INSECUREhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.