Home Directory Plugins Databases Others check_couchbase_node

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_couchbase_node

Rating
1 vote
Favoured:
0
Current Version
1
Last Release Date
2018-07-05
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Owner
License
GPL
Hits
4744
Files:
FileDescription
check_couchbase_node.pyplugin
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Python script which sends GET request to couchbase cluster REST api: http://cluster_dns/pools/nodes
Usage: check_couchbase_node.py [OPTIONS]
Options:
-v, --verbose Verbose logging
-C, --cluster DNS Couchbase cluster address [required]
-u, --user TEXT User with access to cluster information [default: Administrator; required]
-p, --password TEXT Password for couchbase user [required]
-w, --warning INT Warning threshold for nodes count in cluster [required]
-c, --critical INT Critical threshold for nodes count in cluster [required]
--help Show this message and exit.

Run example:
check_couchbase_node.py -C my_cluster.example.com -u Administrator -p password -c1 -w2
Reviews (1)
byOkieUnixDeem, January 23, 2020
You need to add buckets to this and likely this be ok.
But your coding could be better streamlined for different ports that may be used for security reason.

It's good start, I tested this on 5.5.1 couchbase version