Buy Percona ServicesBuy Now! - MongoDB Nagios check script.


Usage: [options]
  -h, --help            show this help message and exit
  -H HOST, --host=HOST  The hostname you want to connect to
  -P PORT, --port=PORT  The port mongodb is running on
  -u USER, --user=USER  The username you want to login as
  -p PASSWD, --password=PASSWD
                        The password you want to use for that user
  -W WARNING, --warning=WARNING
                        The warning threshold you want to set
  -C CRITICAL, --critical=CRITICAL
                        The critical threshold you want to set
  -A ACTION, --action=ACTION
                        The action you want to take. Valid choices are
                        (check_connections, check_election, check_lock_pct,
                        check_repl_lag, check_flushing, check_total_indexes,
                        check_balance, check_queues, check_cannary_test,
                        check_have_primary, check_oplog, check_index_ratio,
                        check_connect) Default: check_connect
  -s SSL, --ssl=SSL     Connect using SSL
  -r REPLICASET, --replicaset=REPLICASET
                        Connect to replicaset
  -c COLLECTION, --collection=COLLECTION
                        Specify the collection in check_cannary_test
  -d DATABASE, --database=DATABASE
                        Specify the database in check_cannary_test
  -q QUERY, --query=QUERY
                        Specify the query     in check_cannary_test
                        File to current store state data in for delta checks
                        File to previous store state data in for delta checks
                        Age of status file to make new checks (seconds)


Percona Monitoring Plugins 1.1.7

Table Of Contents

Previous topic


Next topic


Visit Percona Store

General Inquiries

For general inquiries, please send us your question and someone will contact you.