Home Directory Plugins Databases check_redis_write.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_write.pl (Advanced Nagios Plugins Collection)

Rating
0 votes
Favoured:
0
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
Hits
29116
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Checks a Redis server is up and properly functioning via API

Checks:

1. writes a new unique key with dynamically generated value
2. reads same key back
3. checks returned value is identical to the value generated and written
4. deletes the key
5. records the write/read/delete timings to a given precision for reporting and graphing
6. compares each operation's time taken against the warning/critical thresholds if given
Part of the Advanced Nagios Plugins Collection.

Download it here:

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

check_redis_write.pl

Nagios Plugin to check a Redis server

Checks:

1. writes a new unique key with dynamically generated value
2. reads same key back
3. checks returned value is identical to the value generated and written
4. deletes the key
5. records the write/read/delete timings to a given precision for reporting and graphing
6. compares each operation's time taken against the warning/critical thresholds if given

usage: check_redis_write.pl [ options ]

-H --host Redis Host to connect to
-P --port Redis Port to connect to (default: 6379)
-d --database Database to select (optional, will default to the default database 0)
-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)
-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