Databases

check_mongodb_master.pl (Advanced Nagios Plugins Collection)

Description:

Checks a given Mongod is the Master of a Replica Set

Current Version

Last Release Date

March 17, 2014

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

Owner


Project Notes
Part of the Advanced Nagios Plugins Collection. Download it here: https://github.com/harisekhon/nagios-plugins check_mongodb_master.pl Nagios Plugin to check a given Mongod is the Master of a Replica Set usage: check_mongodb_master.pl [ options ] -H --host MongoDB host(s) to connect to (should be from same replica set), comma separated, with optional : suffixes. Tries hosts in given order from left to right ($MONGODB_HOST, $HOST) -u --user MongoDB user ($MONGODB_USERNAME, $MONGODB_USER, $USERNAME, $USER) -p --password MongoDB password ($MONGODB_PASSWORD, $PASSWORD) -e --expected-master Checks the master against a specific regex rather than the specified --host. Required if specifying more than one --host --ssl Enable SSL, MongDB libraries must have been compiled with SSL and server must support it. Experimental --sasl Enable SASL authentication, must be compiled in to the MongoDB perl driver to work. Experimental --sasl-mechanism SASL mechanism (default: GSSAPI eg Kerberos on MongoDB Enterprise 2.4+ in which case this should be run from a valid kinit session, alternative PLAIN for LDAP using user/password against MongoDB Enterprise 2.6+ which is sent in plaintext so should be used over SSL). Experimental -t --timeout Timeout in secs (default: 10) -v --verbose Verbose mode (-v, -vv, -vvv ...) -h --help Print description and usage options -V --version Print version and exit
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
26,439