Home Directory Plugins Databases check_redis_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

Login

Remember Me

Directory Tree

check_redis_replication.pl (Advanced Nagios Plugins Collection)

Rating
0 votes
Favoured:
0
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
Hits
29097
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!
Check a Redis slave and replication

Checks:

1. server is in 'slave' role
2. link to master is up
3. replication last I/O is within warning/critical thresholds
4. checks if master sync is in progress (raises warning)
Part of the Advanced Nagios Plugins Collection

Download it here:

https://github.com/harisekhon/nagios-plugins


usage: check_redis_replication.pl [ options ]

-H --host Redis Host to connect to
-P --port Redis Port to connect to (default: 6379)
-p --password Password to connect with (use if Redis is configured with requirepass)
-w --warning Warning threshold ra:nge in secs for replication last I/O (inclusive, default: 30)
-c --critical Critical threshold ra:nge in secs for replication last I/O (inclusive, default: 60)
--precision Number of decimal places for timings (default: 5)
-h --help Print description and usage options
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode (-v, -vv, -vvv ...)
-V --version Print version and exit