Databases

check_redis_publish_subscribe.pl (Advanced Nagios Plugins Collection)

Description:

Check Redis server is up and working via publish/subscribe API calls

Checks:

1. Subscribes to a unique channel
2. Publishes to that same unique channel with a randomly generated and timestamped token
3. Waits for the channel to feed the message through for a given number of secs
4. Checks the message received is the same as the one published
5. compares each operation’s time taken against the warning/critical thresholds if given

Current Version

Last Release Date

November 25, 2013

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI

Owner


Project Notes
Part of the Advanced Nagios Plugins Collection. Download it here: https://github.com/harisekhon/nagios-plugins check_redis_publish_subscribe.pl Nagios Plugin to check a Redis server is up and working via publish/subscribe API calls Checks: 1. Subscribes to a unique channel 2. Publishes to that same unique channel with a randomly generated and timestamped token 3. Waits for the channel to feed the message through for a given number of secs 4. Checks the message received is the same as the one published 5. compares each operation's time taken against the warning/critical thresholds if given Developed on Redis 2.4.10 usage: check_redis_publish_subscribe.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) --subscriber-wait Let the subscriber wait this many secs to make sure it has received the message (default: 0.001, min: 1e-06, max: 10) -w --warning Warning threshold in seconds for each publish/subscribe operation (use float for milliseconds) -c --critical Critical threshold in seconds for each publish/subscribe 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
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
28,844