Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Python script which sends GET request to couchbase cluster REST api: http://cluster_dns/pools/nodes
Current Version
1
Last Release Date
2018-07-05
Owner
Shtrih
Website
https://gitlab.com/nagios_plugins/check_couchbase_node
Download URL
https://gitlab.com/nagios_plugins/check_couchbase_node/raw/master/check_couchbase_node.py
License
GPL
Compatible With
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
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
You must be logged in to submit a review.
To:
From: