Home Directory Plugins Databases check_couchbase_write_replication.pl (Advanced Nagios Plugins Collection)

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


Remember Me

Directory Tree

check_couchbase_write_replication.pl (Advanced Nagios Plugins Collection)

0 votes
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Checks a Couchbase server via Memcached API write => read


1. writes a unique ephemeral key with dynamically generated value
2. reads back the same unique key from the given replication slave after a configurable delay in secs (to allow for the write to replicate to the slave)
3. checks the returned value is identical to that written
4. deletes the unique generated key, checks deleted occurred successfully
5. records the read/write/delete timings and total time (including tcp connection and close) to a given precision
6. compares timing of each read/write/delete operation against warning/critical thresholds if given
Part of the Advanced Nagios Plugins Collection.

Download it here:


./check_couchbase_write_replication.pl --help

usage: check_couchbase_write_replication.pl [ options ]

-H --host Couchbase host ($COUCHBASE_HOST, $HOST)
-P --port Couchbase port ($COUCHBASE_PORT, $PORT, default: 11211)
-S --slave Couchbase slave host to read replicated write from to test replication
--slave-delay Delay in secs before reading the key-value pair back from the Couchbase replication slave cluster (default: 0.5)
-w --warning Warning threshold in seconds for each read/write/delete operation (use float for milliseconds)
-c --critical Critical threshold in seconds for each read/write/delete operation (use float for milliseconds)
--precision Number of decimal places for timings (default: 5)
-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